![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| __construct (CriteriaElement $ele=null, $condition='AND') | |
| & | add (CriteriaElement $criteriaElement, $condition='AND') |
| render () | |
| renderWhere () | |
| renderLdap () | |
Public Member Functions inherited from CriteriaElement | |
| __construct () | |
| render () | |
| setSort ($sort) | |
| getSort () | |
| setOrder ($order) | |
| getOrder () | |
| setLimit ($limit=0) | |
| getLimit () | |
| setStart ($start=0) | |
| getStart () | |
| setGroupBy ($group) | |
| getGroupby () | |
Data Fields | |
| $criteriaElements = array() | |
| $conditions = array() | |
Data Fields inherited from CriteriaElement | |
| $order = 'ASC' | |
| $sort = '' | |
| $limit = 0 | |
| $start = 0 | |
| $groupby = '' | |
Collection of multiple CriteriaElements
| __construct | ( | CriteriaElement | $ele = null, |
$condition = 'AND' |
|||
| ) |
Constructor
| CriteriaElement | null | $ele | |
| string | $condition |

| & add | ( | CriteriaElement | $criteriaElement, |
$condition = 'AND' |
|||
| ) |
Add an element
| CriteriaElement | object | $criteriaElement | |
| string | $condition |

| render | ( | ) |
Make the criteria into a query string
Reimplemented from CriteriaElement.


| renderLdap | ( | ) |
Generate an LDAP filter from criteria
| renderWhere | ( | ) |
Make the criteria into a SQL "WHERE" clause

| $conditions = array() |
| $criteriaElements = array() |