Public Member Functions | ||||
__construct () | ||||
__clone () | ||||
getFetchStrategyId () | ||||
setFetchStrategyId ($id) | ||||
| ||||
hasAliasInside ($alias) | ||||
getAlias () | ||||
getName () | ||||
setName ($name) | ||||
| ||||
distinct () | ||||
| ||||
isDistinct () | ||||
unDistinct () | ||||
| ||||
hasJoinedTable ($table) | ||||
join ($table, LogicalObject $logic, $alias=null) | ||||
| ||||
leftJoin ($table, LogicalObject $logic, $alias=null) | ||||
| ||||
setOrderChain (OrderChain $chain) | ||||
| ||||
orderBy ($field, $table=null) | ||||
| ||||
prependOrderBy ($field, $table=null) | ||||
| ||||
desc () | ||||
| ||||
asc () | ||||
| ||||
groupBy ($field, $table=null) | ||||
| ||||
having (LogicalObject $exp) | ||||
| ||||
getLimit () | ||||
getOffset () | ||||
limit ($limit=null, $offset=null) | ||||
| ||||
from ($table, $alias=null) | ||||
| ||||
get ($field, $alias=null) | ||||
BOVM: achtung! | ||||
multiGet () | ||||
| ||||
arrayGet ($array, $prefix=null) | ||||
| ||||
getFieldsCount () | ||||
getTablesCount () | ||||
getFieldNames () | ||||
toDialectString (Dialect $dialect) | ||||
dropFields () | ||||
| ||||
dropOrder () | ||||
| ||||
Private Member Functions | ||||
getLastTable ($table=null) | ||||
makeOrder ($field, $table=null) | ||||
| ||||
Private Attributes | ||||
$distinct = false | ||||
$name = null | ||||
$joiner = null | ||||
$strategyId = null | ||||
| ||||
$limit = null | ||||
$offset = null | ||||
$fields = array() | ||||
$order = null | ||||
$group = array() | ||||
$having = null | ||||
$aliases = array() |
Definition at line 27 of file SelectQuery.class.php.
SelectQuery::__construct | ( | ) |
Definition at line 53 of file SelectQuery.class.php.
SelectQuery::__clone | ( | ) |
Definition at line 59 of file SelectQuery.class.php.
SelectQuery::getFetchStrategyId | ( | ) |
SelectQuery::setFetchStrategyId | ( | $ | id | ) |
SelectQuery::hasAliasInside | ( | $ | alias | ) |
Definition at line 80 of file SelectQuery.class.php.
SelectQuery::getAlias | ( | ) |
Implements Aliased.
Definition at line 85 of file SelectQuery.class.php.
Referenced by arrayGet(), and getFieldNames().
SelectQuery::getName | ( | ) |
Implements Named.
Definition at line 90 of file SelectQuery.class.php.
Referenced by arrayGet(), and toDialectString().
SelectQuery::setName | ( | $ | name | ) |
Implements Named.
Definition at line 98 of file SelectQuery.class.php.
References $name.
SelectQuery::distinct | ( | ) |
Definition at line 109 of file SelectQuery.class.php.
Referenced by Criteria::fillSelectQuery(), isDistinct(), and unDistinct().
SelectQuery::isDistinct | ( | ) |
Definition at line 115 of file SelectQuery.class.php.
References distinct().
SelectQuery::unDistinct | ( | ) |
Definition at line 123 of file SelectQuery.class.php.
References distinct().
SelectQuery::hasJoinedTable | ( | $ | table | ) |
SelectQuery::join | ( | $ | table, | |
LogicalObject $ | logic, | |||
$ | alias = null | |||
) |
Implements JoinCapableQuery.
Definition at line 137 of file SelectQuery.class.php.
Referenced by Criteria::joinProperties().
SelectQuery::leftJoin | ( | $ | table, | |
LogicalObject $ | logic, | |||
$ | alias = null | |||
) |
Implements JoinCapableQuery.
Definition at line 148 of file SelectQuery.class.php.
Referenced by Criteria::joinProperties().
SelectQuery::setOrderChain | ( | OrderChain $ | chain | ) |
Definition at line 159 of file SelectQuery.class.php.
Referenced by Criteria::fillSelectQuery().
SelectQuery::orderBy | ( | $ | field, | |
$ | table = null | |||
) |
Definition at line 169 of file SelectQuery.class.php.
References makeOrder().
SelectQuery::prependOrderBy | ( | $ | field, | |
$ | table = null | |||
) |
Definition at line 179 of file SelectQuery.class.php.
References makeOrder().
SelectQuery::desc | ( | ) |
WrongStateException |
Definition at line 190 of file SelectQuery.class.php.
SelectQuery::asc | ( | ) |
WrongStateException |
Definition at line 204 of file SelectQuery.class.php.
SelectQuery::groupBy | ( | $ | field, | |
$ | table = null | |||
) |
Definition at line 217 of file SelectQuery.class.php.
References getLastTable().
SelectQuery::having | ( | LogicalObject $ | exp | ) |
Definition at line 231 of file SelectQuery.class.php.
Referenced by toDialectString().
SelectQuery::getLimit | ( | ) |
Definition at line 238 of file SelectQuery.class.php.
References limit().
SelectQuery::getOffset | ( | ) |
Definition at line 243 of file SelectQuery.class.php.
SelectQuery::limit | ( | $ | limit = null , |
|
$ | offset = null | |||
) |
WrongArgumentException |
Definition at line 252 of file SelectQuery.class.php.
References $limit, and $offset.
Referenced by getLimit(), and toDialectString().
SelectQuery::from | ( | $ | table, | |
$ | alias = null | |||
) |
Implements JoinCapableQuery.
Definition at line 269 of file SelectQuery.class.php.
SelectQuery::get | ( | $ | field, | |
$ | alias = null | |||
) |
BOVM: achtung!
WrongArgumentException |
Definition at line 284 of file SelectQuery.class.php.
References getLastTable().
Referenced by Criteria::joinProperties().
SelectQuery::multiGet | ( | ) |
SelectQuery::arrayGet | ( | $ | array, | |
$ | prefix = null | |||
) |
Definition at line 348 of file SelectQuery.class.php.
References getAlias(), and getName().
SelectQuery::getFieldsCount | ( | ) |
Definition at line 383 of file SelectQuery.class.php.
SelectQuery::getTablesCount | ( | ) |
Definition at line 388 of file SelectQuery.class.php.
SelectQuery::getFieldNames | ( | ) |
Definition at line 393 of file SelectQuery.class.php.
References getAlias().
SelectQuery::toDialectString | ( | Dialect $ | dialect | ) |
Reimplemented from QuerySkeleton.
Definition at line 410 of file SelectQuery.class.php.
References $group, getName(), having(), Assert::isTrue(), limit(), and Dialect::quoteField().
SelectQuery::dropFields | ( | ) |
SelectQuery::dropOrder | ( | ) |
SelectQuery::getLastTable | ( | $ | table = null |
) | [private] |
Definition at line 481 of file SelectQuery.class.php.
Referenced by get(), groupBy(), and makeOrder().
SelectQuery::makeOrder | ( | $ | field, | |
$ | table = null | |||
) | [private] |
Definition at line 492 of file SelectQuery.class.php.
References getLastTable().
Referenced by orderBy(), and prependOrderBy().
SelectQuery::$distinct = false [private] |
Definition at line 31 of file SelectQuery.class.php.
SelectQuery::$name = null [private] |
SelectQuery::$joiner = null [private] |
Definition at line 35 of file SelectQuery.class.php.
SelectQuery::$strategyId = null [private] |
SelectQuery::$limit = null [private] |
SelectQuery::$offset = null [private] |
SelectQuery::$fields = array() [private] |
Definition at line 43 of file SelectQuery.class.php.
SelectQuery::$order = null [private] |
Definition at line 45 of file SelectQuery.class.php.
SelectQuery::$group = array() [private] |
SelectQuery::$having = null [private] |
Definition at line 49 of file SelectQuery.class.php.
SelectQuery::$aliases = array() [private] |
Definition at line 51 of file SelectQuery.class.php.