XOOPS  2.6.0
Xoops\Core\Kernel\Model\Stats Class Reference
Inheritance diagram for Xoops\Core\Kernel\Model\Stats:
Inheritance graph

Public Member Functions

 getCount (CriteriaElement $criteria=null)
 
 getCounts (CriteriaElement $criteria=null)
 
- Public Member Functions inherited from Xoops\Core\Kernel\XoopsModelAbstract
 setHandler (XoopsPersistableObjectHandler $handler)
 
 setVars ($args)
 

Additional Inherited Members

- Protected Attributes inherited from Xoops\Core\Kernel\XoopsModelAbstract
 $handler
 

Detailed Description

Definition at line 28 of file Stats.php.

Member Function Documentation

Xoops\Core\Kernel\Model\Stats::getCount ( CriteriaElement  $criteria = null)

count objects matching a condition

Parameters
CriteriaElement | null$criteriaCriteriaElement to match
Returns
int count of objects

Definition at line 37 of file Stats.php.

References $count, $criteria, $id, $result, $temp, and Xoops\getInstance().

Here is the call graph for this function:

Xoops\Core\Kernel\Model\Stats::getCounts ( CriteriaElement  $criteria = null)

get counts matching a condition

Parameters
CriteriaElement | null$criteriaCriteriaElement to match
Returns
array of counts

Definition at line 90 of file Stats.php.

References $count, $criteria, $id, $limit, $result, $start, and Xoops\getInstance().

Here is the call graph for this function:


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