Properties

Properties existing in the Solar_Sql_Select class.

Public

None.

Protected

$_Solar_Sql_Select

(array) Default configuration values.

$_bind

(array) Data to bind into the query as key => value pairs.

$_compound

(array) An array of parts for compound queries.

$_compound_limit

(array) The limit to apply to the compound query (if any) as a whole.

$_compound_order

(array) The order to apply to the compound query (if any) as a whole.

$_compound_type

(array) The compound phrase ('UNION', 'UNION ALL', etc) to use on the next compound query.

$_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 the current select statement.

$_sources

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

We use this for automated deconfliction of column names.

$_sql

(Solar_Sql) Internal Solar_Sql object.

Private

None.



Local