eZPublishCommunityProject(LegacyStack)  2013.5
eZAudit Class Reference

Public Member Functions

 eZAudit ()
 Creates a new audit object. More...
 

Static Public Member Functions

static auditNameSettings ()
 Returns an associative array of all names of audit and the log files used by this class. More...
 
static fetchAuditEnabled ()
 Returns true if audit should be enabled. More...
 
static fetchAuditNameSettings ()
 Returns an associative array of all names of audit and the log files used by this class, Will be fetched from ini settings. More...
 
static isAuditEnabled ()
 Returns true if audit should be enabled. More...
 
static writeAudit ($auditName, $auditAttributes=array())
 Writes $auditName with $auditAttributes as content to file name that will be fetched from ini settings by auditNameSettings() for logging. More...
 

Public Attributes

const DEFAULT_LOG_DIR = 'log/audit'
 

Member Function Documentation

static eZAudit::auditNameSettings ( )
static

Returns an associative array of all names of audit and the log files used by this class.

Returns
array

Referenced by writeAudit().

eZAudit::eZAudit ( )

Creates a new audit object.

static eZAudit::fetchAuditEnabled ( )
static

Returns true if audit should be enabled.

Will fetch from ini setting.

Returns
bool

Referenced by isAuditEnabled().

static eZAudit::fetchAuditNameSettings ( )
static

Returns an associative array of all names of audit and the log files used by this class, Will be fetched from ini settings.

Returns
array

Referenced by auditNameSettings().

static eZAudit::isAuditEnabled ( )
static

Returns true if audit should be enabled.

Returns
boolean

Referenced by eZContentObjectTreeNode\hideSubTree(), eZContentObjectTreeNode\removeThis(), eZContentObjectTreeNode\unhideSubTree(), and writeAudit().

static eZAudit::writeAudit (   $auditName,
  $auditAttributes = array() 
)
static

Member Data Documentation

const eZAudit::DEFAULT_LOG_DIR = 'log/audit'

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