Properties
Properties existing in the Solar_Sql_Model_Collection
class.
Public
None.
Protected
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
$_data_keylock
(bool) Notes if the data keys should be locked (unchangeable).
Inherited from Solar_Struct.
$_invalid_offsets
(mixed) When calling save(), these are the data keys that were invalid and thus not fully saved.
$_is_dirty
(bool) Notes if one or more data elements has been set after initialization.
Inherited from Solar_Struct.
$_model
(Solar_Sql_Model) The "parent" model for this record.
$_pager_info
(array) The pager information for this collection.
-
count
-
(int) The total number of rows in the database.
-
pages
-
(int) The total number of pages in the database (count / paging).
-
paging
-
(int) The number of rows per page for the collection.
-
page
-
(int) The page-number of the collection.
-
begin
-
(int) The row-number at which the collection begins.
-
end
-
(int) The row-number at which the collection ends.
Private
None.