Public Member Functions | |
__construct (Zend_Db_Table_Abstract $table) | |
getTable () | |
setTable (Zend_Db_Table_Abstract $table) | |
setIntegrityCheck ($flag=true) | |
isReadOnly () | |
from ($name, $cols=self::SQL_WILDCARD, $schema=null) | |
assemble () | |
Protected Attributes | |
$_info | |
$_integrityCheck = true | |
$_table |
Definition at line 46 of file Select.php.
__construct | ( | Zend_Db_Table_Abstract $ | table ) |
Class constructor
Zend_Db_Table_Abstract | $adapter |
Definition at line 74 of file Select.php.
assemble | ( | ) |
Performs a validation on the select query before passing back to the parent class. Ensures that only columns from the primary Zend_Db_Table are returned in the result.
Reimplemented from Zend_Db_Select.
Definition at line 190 of file Select.php.
from | ( | $ | name, |
$ | cols = self::SQL_WILDCARD , |
||
$ | schema = null |
||
) |
Adds a FROM table and optional columns to the query.
The table name can be expressed
array | string | Zend_Db_Expr | Zend_Db_Table_Abstract | $name | The table name or an associative array relating table name to correlation name. |
array | string | Zend_Db_Expr | $cols | The columns to select from this table. |
string | $schema | The schema name to specify, if any. |
Reimplemented from Zend_Db_Select.
Definition at line 171 of file Select.php.
getTable | ( | ) |
Return the table that created this select object
Definition at line 86 of file Select.php.
isReadOnly | ( | ) |
Tests query to determine if expressions or aliases columns exist.
Definition at line 126 of file Select.php.
setIntegrityCheck | ( | $ | flag = true ) |
Sets the integrity check flag.
Setting this flag to false skips the checks for table joins, allowing 'hybrid' table rows to be created.
Zend_Db_Table_Abstract | $adapter |
Definition at line 115 of file Select.php.
setTable | ( | Zend_Db_Table_Abstract $ | table ) |
Sets the primary table name and retrieves the table schema.
Zend_Db_Table_Abstract | $adapter |
Definition at line 97 of file Select.php.