Public Member Functions | |
__construct (Query $left, Query $right, $logic) | |
__clone () | |
getLimit () | |
getOffset () | |
limit ($limit=null, $offset=null) | |
dropOrder () | |
setOrderChain (OrderChain $chain) | |
orderBy ($field) | |
toDialectString (Dialect $dialect) | |
Private Attributes | |
$left = null | |
$right = null | |
$logic = null | |
$limit = null | |
$offset = null | |
$order = null |
Definition at line 15 of file QueryCombination.class.php.
Definition at line 28 of file QueryCombination.class.php.
References $logic.
QueryCombination::__clone | ( | ) |
Definition at line 40 of file QueryCombination.class.php.
QueryCombination::dropOrder | ( | ) |
Definition at line 78 of file QueryCombination.class.php.
QueryCombination::getLimit | ( | ) |
Definition at line 47 of file QueryCombination.class.php.
QueryCombination::getOffset | ( | ) |
Definition at line 52 of file QueryCombination.class.php.
QueryCombination::limit | ( | $ | limit = null , |
|
$ | offset = null | |||
) |
WrongArgumentException |
Definition at line 61 of file QueryCombination.class.php.
References $limit, $offset, Assert::isInteger(), and Assert::isPositiveInteger().
Referenced by toDialectString().
QueryCombination::orderBy | ( | $ | field | ) |
Definition at line 98 of file QueryCombination.class.php.
QueryCombination::setOrderChain | ( | OrderChain $ | chain | ) |
Definition at line 88 of file QueryCombination.class.php.
QueryCombination::toDialectString | ( | Dialect $ | dialect | ) |
Implements DialectString.
Definition at line 105 of file QueryCombination.class.php.
References limit().
QueryCombination::$left = null [private] |
Definition at line 19 of file QueryCombination.class.php.
QueryCombination::$limit = null [private] |
Definition at line 23 of file QueryCombination.class.php.
Referenced by limit().
QueryCombination::$logic = null [private] |
Definition at line 21 of file QueryCombination.class.php.
Referenced by __construct().
QueryCombination::$offset = null [private] |
Definition at line 24 of file QueryCombination.class.php.
Referenced by limit().
QueryCombination::$order = null [private] |
Definition at line 26 of file QueryCombination.class.php.
QueryCombination::$right = null [private] |
Definition at line 20 of file QueryCombination.class.php.