XOOPS 2.5.6
Final
|
Public Member Functions | |
& | add (&$criteriaElement, $condition= 'AND') |
CriteriaCompo ($ele=null, $condition= 'AND') | |
render () | |
renderLdap () | |
renderWhere () | |
Public Member Functions inherited from CriteriaElement | |
CriteriaElement () | |
getGroupby () | |
getLimit () | |
getOrder () | |
getSort () | |
getStart () | |
render () | |
setGroupby ($group) | |
setLimit ($limit=0) | |
setOrder ($order) | |
setSort ($sort) | |
setStart ($start=0) | |
Public Attributes | |
$conditions = array() | |
$criteriaElements = array() | |
Public Attributes inherited from CriteriaElement | |
$groupby = '' | |
$limit = 0 | |
$order = 'ASC' | |
$sort = '' | |
$start = 0 | |
Collection of multiple CriteriaElements
Definition at line 180 of file criteria.php.
& CriteriaCompo::add | ( | & | $criteriaElement, |
$condition = 'AND' |
|||
) |
Add an element
object | $ &$criteriaElement | |
string | $condition |
Definition at line 216 of file criteria.php.
Referenced by CriteriaCompo().
CriteriaCompo::CriteriaCompo | ( | $ele = null , |
|
$condition = 'AND' |
|||
) |
Constructor
object | $ele | |
string | $condition |
Definition at line 202 of file criteria.php.
References add().
CriteriaCompo::render | ( | ) |
Make the criteria into a query string
Definition at line 230 of file criteria.php.
Referenced by renderWhere().
CriteriaCompo::renderLdap | ( | ) |
CriteriaCompo::renderWhere | ( | ) |
Make the criteria into a SQL "WHERE" clause
Definition at line 251 of file criteria.php.
References $ret, and render().
CriteriaCompo::$conditions = array() |
Definition at line 194 of file criteria.php.
CriteriaCompo::$criteriaElements = array() |
Definition at line 187 of file criteria.php.