Zend_Db_SelectClass for SQL SELECT generation and results.
Located in /library/Zend/Db/Select.php (line 34)
Zend_Db_Adapter_Abstract
$_adapter
(line 41)
Zend_Db_Adapter_Abstract object.
array
$_parts
= array(The component parts of a SELECT statement.
array
$_tableCols
= array() (line 67)
Tracks which columns are being select from each table and join.
Constructor __construct (line 75)
Class constructor
distinct (line 173)
Makes the query SELECT DISTINCT.
forUpdate (line 186)
Makes the query SELECT FOR UPDATE.
from (line 200)
Adds a FROM table and optional columns to the query.
group (line 360)
Adds grouping to the query.
having (line 401)
Adds a HAVING condition to the query by AND.
If a value is passed as the second param, it will be quoted and replaced into the condition wherever a question-mark appears.
Array values are quoted and comma-separated.
join (line 251)
Adds a JOIN table and columns to the query.
joinInner (line 278)
Add an INNER JOIN table and colums to the query
joinLeft (line 265)
Add a LEFT JOIN table and colums to the query
limit (line 481)
Sets a limit count and offset to the query.
limitPage (line 496)
Sets the limit and count by page number.
order (line 452)
Adds a row order to the query.
orHaving (line 429)
Adds a HAVING condition to the query by OR.
Otherwise identical to orHaving().
orWhere (line 337)
Adds a WHERE condition to the query by OR.
Otherwise identical to where().
where (line 309)
Adds a WHERE condition to the query by AND.
If a value is passed as the second param, it will be quoted and replaced into the condition wherever a question-mark appears.
Array values are quoted and comma-separated.
_join (line 226)
Populate the $_parts 'join' key
Does the dirty work of populating the join key.
_tableCols (line 514)
Adds to the internal table-to-column mapping array.
__toString (line 86)
Converts this object to an SQL SELECT string.
Documentation generated on Wed, 08 Mar 2006 04:54:47 -0800 by phpDocumentor 1.3.0RC4