Public Member Functions | |
sort ($name) | |
| |
dropSort () | |
| |
asc () | |
| |
desc () | |
| |
isNull () | |
| |
notNull () | |
| |
getLimit () | |
setLimit ($limit) | |
| |
getOffset () | |
setOffset ($offset) | |
| |
getLogic () | |
addLogic (LogicalObject $exp) | |
| |
toSelectQuery (StorableDAO $dao) | |
| |
Static Public Member Functions | |
static | create () |
| |
Public Attributes | |
const | SORT_ASC = 0x0001 |
const | SORT_DESC = 0x0002 |
const | SORT_IS_NULL = 0x0003 |
const | SORT_NOT_NULL = 0x0004 |
Private Member Functions | |
direction ($constant) | |
| |
Private Attributes | |
$sort = array() | |
$logic = array() | |
$current = null | |
$limit = null | |
$offset = null |
Definition at line 24 of file ObjectQuery.class.php.
static ObjectQuery::create | ( | ) | [static] |
Definition at line 42 of file ObjectQuery.class.php.
Referenced by DaoMoveHelper::down(), and DaoMoveHelper::up().
ObjectQuery::sort | ( | $ | name | ) |
Definition at line 50 of file ObjectQuery.class.php.
Referenced by direction(), dropSort(), and toSelectQuery().
ObjectQuery::dropSort | ( | ) |
Definition at line 63 of file ObjectQuery.class.php.
References sort().
ObjectQuery::asc | ( | ) |
Definition at line 74 of file ObjectQuery.class.php.
References direction().
Referenced by toSelectQuery().
ObjectQuery::desc | ( | ) |
Definition at line 82 of file ObjectQuery.class.php.
References direction().
Referenced by toSelectQuery().
ObjectQuery::isNull | ( | ) |
Definition at line 90 of file ObjectQuery.class.php.
References direction().
ObjectQuery::notNull | ( | ) |
Definition at line 98 of file ObjectQuery.class.php.
References direction().
ObjectQuery::getLimit | ( | ) |
Definition at line 103 of file ObjectQuery.class.php.
ObjectQuery::setLimit | ( | $ | limit | ) |
ObjectQuery::getOffset | ( | ) |
Definition at line 118 of file ObjectQuery.class.php.
ObjectQuery::setOffset | ( | $ | offset | ) |
ObjectQuery::getLogic | ( | ) |
Definition at line 133 of file ObjectQuery.class.php.
ObjectQuery::addLogic | ( | LogicalObject $ | exp | ) |
ObjectQuery::toSelectQuery | ( | StorableDAO $ | dao | ) |
Definition at line 151 of file ObjectQuery.class.php.
References asc(), OrderBy::create(), desc(), Expression::isNull(), GenericDAO::makeSelectHead(), Expression::notNull(), and sort().
Referenced by FullTextUtils::makeFullTextQuery().
ObjectQuery::direction | ( | $ | constant | ) | [private] |
Definition at line 220 of file ObjectQuery.class.php.
References sort().
Referenced by asc(), desc(), isNull(), and notNull().
const ObjectQuery::SORT_ASC = 0x0001 |
Definition at line 26 of file ObjectQuery.class.php.
const ObjectQuery::SORT_DESC = 0x0002 |
Definition at line 27 of file ObjectQuery.class.php.
const ObjectQuery::SORT_IS_NULL = 0x0003 |
Definition at line 28 of file ObjectQuery.class.php.
const ObjectQuery::SORT_NOT_NULL = 0x0004 |
Definition at line 29 of file ObjectQuery.class.php.
ObjectQuery::$sort = array() [private] |
Definition at line 31 of file ObjectQuery.class.php.
ObjectQuery::$logic = array() [private] |
Definition at line 32 of file ObjectQuery.class.php.
ObjectQuery::$current = null [private] |
Definition at line 34 of file ObjectQuery.class.php.
ObjectQuery::$limit = null [private] |
ObjectQuery::$offset = null [private] |