Previous Page
Constants

Solar_Sql_Model_Collection
Properties

Next Page
Methods

Properties

Public

None.

Protected

$_Solar_Struct

(array) User-defined configuration values.

Inherited from Solar_Struct.

Keys are ...

data
(array) Key-value pairs.

$_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

(array) The keys/properties in name => value format.

Inherited from Solar_Struct.

$_iterator_valid

(array) Iterator: is the current position valid?

Inherited from Solar_Struct.

$_model

(Solar_Sql_Model) The "parent" model for this record.

$_pager_info

(array) The pager information for this collection.

Keys are ...

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.

(array) Data for related objects.

Private

None.