
Public Member Functions | |
| __construct ($name) | |
| getAlias () | |
| getName () | |
| setAlias ($alias) | |
| |
| setAggregateAll () | |
| |
| setAggregateDistinct () | |
| |
| toMapped (StorableDAO $dao, JoinCapableQuery $query) | |
| |
| toDialectString (Dialect $dialect) | |
Static Public Member Functions | |
| static | create ($name) |
| |
Public Attributes | |
| const | AGGREGATE_ALL = 1 |
| const | AGGREGATE_DISTINCT = 2 |
Private Attributes | |
| $name = null | |
| $alias = null | |
| $aggregate = null | |
| $args = array() | |
Definition at line 18 of file SQLFunction.class.php.
| SQLFunction::__construct | ( | $ | name | ) |
| static SQLFunction::create | ( | $ | name | ) | [static] |
Definition at line 34 of file SQLFunction.class.php.
Referenced by CountProjection::getFunction(), TransparentDaoWorker::getQueryResult(), NullDaoWorker::getQueryResult(), CommonDaoWorker::getQueryResult(), UnifiedContainerWorker::makeCountQuery(), AggregateProjection::process(), EqualsLowerExpression::toDialectString(), and toMapped().
| SQLFunction::getAlias | ( | ) |
| SQLFunction::getName | ( | ) |
Definition at line 65 of file SQLFunction.class.php.
| SQLFunction::setAlias | ( | $ | alias | ) |
| SQLFunction::setAggregateAll | ( | ) |
| SQLFunction::setAggregateDistinct | ( | ) |
| SQLFunction::toMapped | ( | StorableDAO $ | dao, | |
| JoinCapableQuery $ | query | |||
| ) |
Implements MappableObject.
Definition at line 103 of file SQLFunction.class.php.
References create(), and ProtoDAO::guessAtom().

| SQLFunction::toDialectString | ( | Dialect $ | dialect | ) |
Implements DialectString.
Definition at line 123 of file SQLFunction.class.php.
References $args, $out, Dialect::fieldToString(), Assert::isTrue(), Dialect::quoteValue(), and Dialect::toCasted().

| const SQLFunction::AGGREGATE_ALL = 1 |
Definition at line 22 of file SQLFunction.class.php.
| const SQLFunction::AGGREGATE_DISTINCT = 2 |
Definition at line 23 of file SQLFunction.class.php.
SQLFunction::$name = null [private] |
SQLFunction::$alias = null [private] |
SQLFunction::$aggregate = null [private] |
Definition at line 27 of file SQLFunction.class.php.
SQLFunction::$args = array() [private] |
Definition at line 29 of file SQLFunction.class.php.
Referenced by __construct(), create(), and toDialectString().
1.5.4