Class CMS_log_catalog

Description

Class CMS_log_catalog

Keeps track of logging action

Located in /automne/classes/common/logcatalog.php (line 29)

CMS_grandFather
   |
   --CMS_log_catalog
Method Summary
 static array(integer=>integer) getAllActions ( $cms_language)
 static array(CMS_log) getByResource (CMS_ $moduleCodename,  $resourceId, [ $start = 0], [ $limit = false], [ $order = 'datetime'], [ $direction = 'desc'], [ $returnCount = false])
 static array(CMS_log) getByResourceAction (CMS_ $moduleCodename,  $resourceId,  $action, [ $limit = false])
 static array(integer=>integer) getEmailActions ()
 static array(integer=>integer) getLoginActions ()
 static array(integer=>integer) getMiscActions ()
 static array(integer=>integer) getModulesActions ( $cms_language)
 static array(integer=>integer) getResourceActions ()
 static boolean purge ([ $moduleCodename = ''], [ $resourceId = 0], [ $userId = 0], [ $types = array()])
 static array(CMS_log) search ([ $moduleCodename = ''], [ $resourceId = 0], [ $userId = 0], [ $types = array()], [ $datestart = false], [ $dateend = false], [ $start = 0], [ $limit = false], [ $order = 'datetime'], [ $direction = 'desc'], [ $returnCount = false])
Methods
static getAllActions (line 324)

Get All the actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getAllActions ( $cms_language)
  • $cms_language
static getByResource (line 143)

Get by resource

  • access: public
static array(CMS_log) getByResource (CMS_ $moduleCodename,  $resourceId, [ $start = 0], [ $limit = false], [ $order = 'datetime'], [ $direction = 'desc'], [ $returnCount = false])
  • CMS_ $moduleCodename
  • $resourceId
  • $start
  • $limit
  • $order
  • $direction
  • $returnCount
static getByResourceAction (line 190)

Get by resource

  • access: public
static array(CMS_log) getByResourceAction (CMS_ $moduleCodename,  $resourceId,  $action, [ $limit = false])
  • CMS_ $moduleCodename
  • $resourceId
  • $action
  • $limit
static getEmailActions (line 295)

Get All the emails actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getEmailActions ()
static getLoginActions (line 282)

Get All the login actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getLoginActions ()
static getMiscActions (line 259)

Get All the misc actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getMiscActions ()
static getModulesActions (line 305)

Get All the modules actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getModulesActions ( $cms_language)
  • $cms_language
static getResourceActions (line 234)

Get All the resource actions possible

  • return: The actions indexed by their messages
  • access: public
static array(integer=>integer) getResourceActions ()
static purge (line 112)

Purge (delete) log

  • access: public
static boolean purge ([ $moduleCodename = ''], [ $resourceId = 0], [ $userId = 0], [ $types = array()])
  • $moduleCodename
  • $resourceId
  • $userId
  • $types
static search (line 37)

Search log

  • access: public
static array(CMS_log) search ([ $moduleCodename = ''], [ $resourceId = 0], [ $userId = 0], [ $types = array()], [ $datestart = false], [ $dateend = false], [ $start = 0], [ $limit = false], [ $order = 'datetime'], [ $direction = 'desc'], [ $returnCount = false])
  • $moduleCodename
  • $resourceId
  • $userId
  • $types
  • $datestart
  • $dateend
  • $start
  • $limit
  • $order
  • $direction
  • $returnCount

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:31:56 +0100 by phpDocumentor 1.4.3