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

Public Member Functions

 CriteriaElement ()
 
 getGroupby ()
 
 getLimit ()
 
 getOrder ()
 
 getSort ()
 
 getStart ()
 
 render ()
 
 setGroupby ($group)
 
 setLimit ($limit=0)
 
 setOrder ($order)
 
 setSort ($sort)
 
 setStart ($start=0)
 

Public Attributes

 $groupby = ''
 
 $limit = 0
 
 $order = 'ASC'
 
 $sort = ''
 
 $start = 0
 

Detailed Description

A criteria (grammar?) for a database query.

Abstract base class should never be instantiated directly.

Definition at line 31 of file criteria.php.

Member Function Documentation

CriteriaElement::CriteriaElement ( )

Constructor

Definition at line 69 of file criteria.php.

CriteriaElement::getGroupby ( )
Returns
string

Definition at line 167 of file criteria.php.

CriteriaElement::getLimit ( )
Returns
int

Definition at line 131 of file criteria.php.

References $limit.

CriteriaElement::getOrder ( )
Returns
string

Definition at line 113 of file criteria.php.

CriteriaElement::getSort ( )
Returns
string

Definition at line 93 of file criteria.php.

CriteriaElement::getStart ( )
Returns
int

Definition at line 149 of file criteria.php.

References $start.

CriteriaElement::render ( )

Render the criteria element

Definition at line 76 of file criteria.php.

CriteriaElement::setGroupby (   $group)
Parameters
string$group

Definition at line 158 of file criteria.php.

CriteriaElement::setLimit (   $limit = 0)
Parameters
int$limit

Definition at line 122 of file criteria.php.

CriteriaElement::setOrder (   $order)
Parameters
string$order

Definition at line 102 of file criteria.php.

CriteriaElement::setSort (   $sort)
Parameters
string$sort

Definition at line 84 of file criteria.php.

CriteriaElement::setStart (   $start = 0)
Parameters
int$start

Definition at line 140 of file criteria.php.

Member Data Documentation

CriteriaElement::$groupby = ''

Definition at line 64 of file criteria.php.

CriteriaElement::$limit = 0

Definition at line 51 of file criteria.php.

CriteriaElement::$order = 'ASC'

Definition at line 38 of file criteria.php.

CriteriaElement::$sort = ''

Definition at line 44 of file criteria.php.

CriteriaElement::$start = 0

Definition at line 58 of file criteria.php.


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