|
XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
| __construct ($ele=null, $condition='AND') | |
| hasChildElements () | |
| getCountChildElements () | |
| getChildElement ($idx) | |
| getCondition ($idx) | |
| & | add ($criteriaElement, $condition='AND') |
| render () | |
| renderWhere () | |
| renderLdap () | |
Public Member Functions inherited from CriteriaElement | |
| __construct () | |
| 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 | |
| $criteriaElements = [] | |
| $conditions = [] | |
Data Fields inherited from CriteriaElement | |
| $order = [] | |
| $sort = [] | |
| $limit = 0 | |
| $start = 0 | |
| $groupby = '' | |
Collection of multiple CriteriaElements
Definition at line 266 of file criteria.php.
| __construct | ( | $ele = null, | |
| $condition = 'AND' ) |
| & add | ( | $criteriaElement, | |
| $condition = 'AND' ) |
Add an element
| object | &$criteriaElement | |
| string | $condition |
Definition at line 322 of file criteria.php.
| getChildElement | ( | $idx | ) |
Return child element.
| $idx |
Reimplemented from CriteriaElement.
Definition at line 304 of file criteria.php.
| getCondition | ( | $idx | ) |
Return condition string.
| $idx |
Reimplemented from CriteriaElement.
Definition at line 309 of file criteria.php.
| getCountChildElements | ( | ) |
Reimplemented from CriteriaElement.
Definition at line 299 of file criteria.php.
| hasChildElements | ( | ) |
Return true if this object has child elements.
Reimplemented from CriteriaElement.
Definition at line 294 of file criteria.php.
| render | ( | ) |
Make the criteria into a query string
Reimplemented from CriteriaElement.
Definition at line 335 of file criteria.php.
| renderLdap | ( | ) |
| renderWhere | ( | ) |
Make the criteria into a SQL "WHERE" clause
Definition at line 357 of file criteria.php.
| $conditions = [] |
Definition at line 279 of file criteria.php.
| $criteriaElements = [] |
Definition at line 273 of file criteria.php.