XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
Criteria Class Reference
Inheritance diagram for Criteria:
Inheritance graph

Public Member Functions

 Criteria ($column, $value= '', $operator= '=', $prefix= '', $function= '')
 
 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

 $column
 
 $function
 
 $operator
 
 $prefix
 
 $value
 
- Public Attributes inherited from CriteriaElement
 $groupby = ''
 
 $limit = 0
 
 $order = 'ASC'
 
 $sort = ''
 
 $start = 0
 

Detailed Description

A single criteria

Definition at line 284 of file criteria.php.

Member Function Documentation

Criteria::Criteria (   $column,
  $value = '',
  $operator = '=',
  $prefix = '',
  $function = '' 
)

Constructor

Parameters
string$column
string$value
string$operator

Definition at line 303 of file criteria.php.

References $column, $function, $operator, $prefix, and $value.

Criteria::render ( )

Make a sql condition string

Returns
string

Definition at line 317 of file criteria.php.

References $operator, and $value.

Referenced by renderWhere().

Here is the caller graph for this function:

Criteria::renderLdap ( )

Generate an LDAP filter from criteria

Returns
string
Author
Nathan Dial ndial.nosp@m.@tri.nosp@m.llion.nosp@m.21.c.nosp@m.om, improved by Pierre-Eric MENUET pemen.nosp@m.@sou.nosp@m.rcefo.nosp@m.rge..nosp@m.net

Definition at line 347 of file criteria.php.

References $operator, and $uid.

Criteria::renderWhere ( )

Make a SQL "WHERE" clause

Returns
string

Definition at line 379 of file criteria.php.

References render().

Here is the call graph for this function:

Member Data Documentation

Criteria::$column

Definition at line 292 of file criteria.php.

Referenced by Criteria().

Criteria::$function

Definition at line 291 of file criteria.php.

Referenced by Criteria().

Criteria::$operator

Definition at line 293 of file criteria.php.

Referenced by Criteria(), render(), and renderLdap().

Criteria::$prefix

Definition at line 290 of file criteria.php.

Referenced by Criteria().

Criteria::$value

Definition at line 294 of file criteria.php.

Referenced by Criteria(), and render().


The documentation for this class was generated from the following file: