API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsModelStats Class Reference
Inheritance diagram for XoopsModelStats:
Collaboration diagram for XoopsModelStats:

Public Member Functions

 getCount (CriteriaElement $criteria=null)
 
 getCounts (CriteriaElement $criteria=null)
 
- Public Member Functions inherited from XoopsModelAbstract
 __construct ($args=null, $handler=null)
 
 setHandler ($handler)
 
 setVars ($args)
 

Additional Inherited Members

- Data Fields inherited from XoopsModelAbstract
 $handler
 

Detailed Description

Member Function Documentation

◆ getCount()

getCount ( CriteriaElement  $criteria = null)

count objects matching a condition

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

◆ getCounts()

getCounts ( CriteriaElement  $criteria = null)

get counts matching a condition

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

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