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

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from XoopsModelAbstract
 $handler
 

Detailed Description

Object stats handler class.

Author
Taiwen Jiang phppp.nosp@m.@use.nosp@m.rs.so.nosp@m.urce.nosp@m.forge.nosp@m..net

XoopsObjectAbstract

Definition at line 30 of file stats.php.

Member Function Documentation

XoopsModelStats::getCount (   $criteria = null)

count objects matching a condition

Parameters
object$criteriaCriteriaElement to match
Returns
int count of objects

Definition at line 38 of file stats.php.

References $criteria, $result, $ret, and $sql.

XoopsModelStats::getCounts (   $criteria = null)

get counts matching a condition

Parameters
object$criteriaCriteriaElement to match
Returns
array of conunts

Definition at line 75 of file stats.php.

References $criteria, $limit, $result, $ret, $sql, and $start.


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