XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence de la classe CriteriaCompo
+ Graphe d'héritage de CriteriaCompo:
+ Graphe de collaboration de CriteriaCompo:

Fonctions membres publiques

 __construct (CriteriaElement $ele=null, $condition='AND')
 
add (CriteriaElement $criteriaElement, $condition='AND')
 
 render ()
 
 renderWhere ()
 
 renderLdap ()
 
- Fonctions membres publiques hérités de CriteriaElement
 __construct ()
 
 setSort ($sort)
 
 getSort ()
 
 setOrder ($order)
 
 getOrder ()
 
 setLimit ($limit=0)
 
 getLimit ()
 
 setStart ($start=0)
 
 getStart ()
 
 setGroupBy ($group)
 
 getGroupby ()
 

Champs de données

 $criteriaElements = array()
 
 $conditions = array()
 
- Champs de données hérités de CriteriaElement
 $order = 'ASC'
 
 $sort = ''
 
 $limit = 0
 
 $start = 0
 
 $groupby = ''
 

Description détaillée

Collection of multiple CriteriaElements

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( CriteriaElement  $ele = null,
  $condition = 'AND' 
)

Constructor

Paramètres
CriteriaElement | null$ele
string$condition
+ Voici le graphe d'appel pour cette fonction :

Documentation des fonctions membres

◆ add()

& add ( CriteriaElement  $criteriaElement,
  $condition = 'AND' 
)

Add an element

Paramètres
CriteriaElement | object$criteriaElement
string$condition
Renvoie
object reference to this collection
+ Voici le graphe des appelants de cette fonction :

◆ render()

render ( )

Make the criteria into a query string

Renvoie
string

Réimplémentée à partir de CriteriaElement.

+ Voici le graphe des appelants de cette fonction :

◆ renderLdap()

renderLdap ( )

Generate an LDAP filter from criteria

Renvoie
string
Auteur
Nathan Dial ndial.nosp@m.@tri.nosp@m.llion.nosp@m.21.c.nosp@m.om

◆ renderWhere()

renderWhere ( )

Make the criteria into a SQL "WHERE" clause

Renvoie
string
+ Voici le graphe d'appel pour cette fonction :

Documentation des champs

◆ $conditions

$conditions = array()

◆ $criteriaElements

$criteriaElements = array()

La documentation de cette classe a été générée à partir du fichier suivant :