|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| __construct () | |
| render () | |
| hasChildElements () | |
| getCountChildElements () | |
| getChildElement ($idx) | |
| getCondition ($idx) | |
| getName () | |
| getValue () | |
| getOperator () | |
| setSort ($sort, $order=null) | |
| addSort ($sort, $order='ASC') | |
| getSort () | |
| getSorts () | |
| setOrder ($order) | |
| getOrder () | |
| setLimit ($limit=0) | |
| getLimit () | |
| setStart ($start=0) | |
| getStart () | |
| setGroupby ($group) | |
| getGroupby () | |
Data Fields | |
| $order = [] | |
| $sort = [] | |
| $limit = 0 | |
| $start = 0 | |
| $groupby = '' | |
Definition at line 23 of file criteria.php.
| __construct | ( | ) |
Constructor
Definition at line 56 of file criteria.php.
| addSort | ( | $sort, | |
| $order = 'ASC' ) |
Add sort and order condition to this object.
| $sort | ||
| string | $order |
Definition at line 145 of file criteria.php.
| getChildElement | ( | $idx | ) |
Return child element.
| $idx |
Reimplemented in CriteriaCompo.
Definition at line 86 of file criteria.php.
| getCondition | ( | $idx | ) |
Return condition string.
| $idx |
Reimplemented in CriteriaCompo.
Definition at line 96 of file criteria.php.
| getCountChildElements | ( | ) |
Definition at line 76 of file criteria.php.
| getGroupby | ( | ) |
| getLimit | ( | ) |
Definition at line 221 of file criteria.php.
| getName | ( | ) |
Definition at line 101 of file criteria.php.
| getOperator | ( | ) |
Definition at line 111 of file criteria.php.
| getOrder | ( | ) |
Definition at line 201 of file criteria.php.
| getSort | ( | ) |
Definition at line 158 of file criteria.php.
| getSorts | ( | ) |
Return sort and order condition as hashmap array.
Definition at line 172 of file criteria.php.
| getStart | ( | ) |
Definition at line 237 of file criteria.php.
| getValue | ( | ) |
Definition at line 106 of file criteria.php.
| hasChildElements | ( | ) |
Return true if this object has child elements.
Reimplemented in CriteriaCompo.
Definition at line 71 of file criteria.php.
| render | ( | ) |
Render the criteria element
Reimplemented in Criteria, and CriteriaCompo.
Definition at line 64 of file criteria.php.
| setGroupby | ( | $group | ) |
| setLimit | ( | $limit = 0 | ) |
| int | $limit |
Definition at line 213 of file criteria.php.
| setOrder | ( | $order | ) |
| setSort | ( | $sort, | |
| $order = null ) |
| setStart | ( | $start = 0 | ) |
| int | $start |
Definition at line 229 of file criteria.php.
| $groupby = '' |
Definition at line 51 of file criteria.php.
| $limit = 0 |
Definition at line 40 of file criteria.php.
| $order = [] |
Definition at line 29 of file criteria.php.
| $sort = [] |
Definition at line 34 of file criteria.php.
| $start = 0 |
Definition at line 46 of file criteria.php.