XOOPS
2.6.0
|
Public Member Functions | |
buildExpressionQb (QueryBuilder $qb) | |
getGroupby () | |
getLimit () | |
getOrder () | |
getSort () | |
getStart () | |
render () | |
renderLdap () | |
renderQb (QueryBuilder $qb=null, $whereMode= '') | |
renderWhere () | |
setGroupby ($group) | |
setLimit ($limit=0) | |
setOrder ($order) | |
setSort ($sort) | |
setStart ($start=0) | |
Protected Attributes | |
$groupby = '' | |
$limit = 0 | |
$order = 'ASC' | |
$sort = '' | |
$start = 0 | |
Definition at line 31 of file CriteriaElement.php.
|
abstract |
Build an expression to be included in a Doctrine QueryBuilder instance.
This method will build an expression, adding any parameters to the query, but the caller is responsible for adding the expression to the query, for example as where() parameter. This allows the caller to handle all context, such as parenthetical groupings.
QueryBuilder | $qb | query builder instance |
Xoops\Core\Kernel\CriteriaElement::getGroupby | ( | ) |
Xoops\Core\Kernel\CriteriaElement::getLimit | ( | ) |
get row limit
Definition at line 177 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$limit.
Xoops\Core\Kernel\CriteriaElement::getOrder | ( | ) |
get sort order
Definition at line 155 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$order.
Xoops\Core\Kernel\CriteriaElement::getSort | ( | ) |
get sort column
Definition at line 128 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$sort.
Xoops\Core\Kernel\CriteriaElement::getStart | ( | ) |
get first row offset
Definition at line 199 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$start.
|
abstract |
Render the criteria element
|
abstract |
Generate an LDAP filter from criteria
|
abstract |
Render as Doctrine QueryBuilder instructions
QueryBuilder | $qb | query builder instance |
string | $whereMode | how does this fit in the passed in QueryBuilder? '' = as where,'and'= as andWhere, 'or' = as orWhere |
|
abstract |
Make the criteria into a SQL "WHERE" clause
Xoops\Core\Kernel\CriteriaElement::setGroupby | ( | $group | ) |
set group by
string | $group | group by |
Definition at line 211 of file CriteriaElement.php.
Xoops\Core\Kernel\CriteriaElement::setLimit | ( | $limit = 0 | ) |
set row limit
int | $limit | row limit |
Definition at line 167 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$limit.
Xoops\Core\Kernel\CriteriaElement::setOrder | ( | $order | ) |
set sort order
string | $order | sort order ASC or DESC |
Definition at line 140 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$order.
Xoops\Core\Kernel\CriteriaElement::setSort | ( | $sort | ) |
set sort column
string | $sort | sort column |
Definition at line 118 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$sort.
Xoops\Core\Kernel\CriteriaElement::setStart | ( | $start = 0 | ) |
set first row offset
int | $start | offset of first row |
Definition at line 189 of file CriteriaElement.php.
References Xoops\Core\Kernel\CriteriaElement\$start.
|
protected |
Definition at line 62 of file CriteriaElement.php.
|
protected |
Definition at line 50 of file CriteriaElement.php.
Referenced by Xoops\Core\Kernel\CriteriaElement\getLimit(), and Xoops\Core\Kernel\CriteriaElement\setLimit().
|
protected |
Definition at line 38 of file CriteriaElement.php.
Referenced by Xoops\Core\Kernel\CriteriaElement\getOrder(), and Xoops\Core\Kernel\CriteriaElement\setOrder().
|
protected |
Definition at line 43 of file CriteriaElement.php.
Referenced by Xoops\Core\Kernel\CriteriaElement\getSort(), and Xoops\Core\Kernel\CriteriaElement\setSort().
|
protected |
Definition at line 57 of file CriteriaElement.php.
Referenced by Xoops\Core\Kernel\CriteriaElement\getStart(), and Xoops\Core\Kernel\CriteriaElement\setStart().