Previous Page
Constants

Solar_Sql_Select
Properties

Next Page
Methods

Properties

Public

None.

Protected

$_Solar_Sql_Select

(array) User-provided configuration.

Keys are ...

sql
(dependency) A Solar_Sql dependency object.
paging
(int) Number of rows per page.

$_bind

(array) Data to bind into the query as 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',
);
?>

$_paging

(int) The number of rows per page.

$_parts

(array) The component parts of a select statement.

$_sources

(array) Record sources, typically "from", "select", and "join".

We use this for automated deconfliction of column names.

$_sql

(Solar_Sql) Internal Solar_Sql object.

Private

None.