Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Class for SQL SELECT query manipulation for the Zend_Db_Table component.
array $_info = ''
Table schema for parent Zend_Db_Table.
array $_integrityCheck = 'true'
Table integrity override.
Zend_Db_Table_Abstract $_table = ''
Table instance that created this select object
__construct(
$table
)
:
Class constructor
assemble(
)
:
string|null
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.
from(
array|string|Zend_Db_Expr|Zend_Db_Table_Abstract $name, array|string|Zend_Db_Expr $cols
=
self, string $schema
=
null
)
:
Zend_Db_Table_Select
Adds a FROM table and optional columns to the query.
The table name can be expressed
getTable(
)
:
Zend_Db_Table_Abstract
Return the table that created this select object
isReadOnly(
)
:
boolean
Tests query to determine if expressions or aliases columns exist.
setIntegrityCheck(
$flag
=
true
)
:
Zend_Db_Select
Sets the integrity check flag.
Setting this flag to false skips the checks for table joins, allowing 'hybrid' table rows to be created.
setTable(
$table
)
:
Zend_Db_Select
Sets the primary table name and retrieves the table schema.