eZ Publish  [trunk]
eZAudit Class Reference

List of all members.

Public Member Functions

 eZAudit ()
 Creates a new audit object.

Static Public Member Functions

static auditNameSettings ()
 Returns an associative array of all names of audit and the log files used by this class.
static fetchAuditEnabled ()
 Returns true if audit should be enabled.
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.
static isAuditEnabled ()
 Returns true if audit should be enabled.
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.

Public Attributes

const DEFAULT_LOG_DIR = 'log/audit'

Detailed Description

Definition at line 11 of file ezaudit.php.


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

Definition at line 129 of file ezaudit.php.

Referenced by writeAudit().

Creates a new audit object.

Definition at line 18 of file ezaudit.php.

static eZAudit::fetchAuditEnabled ( ) [static]

Returns true if audit should be enabled.

Will fetch from ini setting.

Returns:
bool

Definition at line 114 of file ezaudit.php.

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

Definition at line 28 of file ezaudit.php.

Referenced by auditNameSettings().

static eZAudit::isAuditEnabled ( ) [static]

Returns true if audit should be enabled.

Returns:
boolean

Definition at line 97 of file ezaudit.php.

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

static eZAudit::writeAudit ( auditName,
auditAttributes = array() 
) [static]

Writes $auditName with $auditAttributes as content to file name that will be fetched from ini settings by auditNameSettings() for logging.

Parameters:
string$auditName
array$auditAttributes
Returns:
bool

Definition at line 58 of file ezaudit.php.

Referenced by eZContentObjectTreeNode\assignSectionToSubTree(), eZRole\assignToUser(), eZOrder\cleanup(), eZOrder\cleanupOrder(), eZContentObjectTreeNode\hideSubTree(), eZUser\loginFailed(), eZUser\loginSucceeded(), eZContentObjectTreeNode\move(), eZContentObject\purge(), eZContentObject\removeThis(), eZContentObjectTreeNode\removeThis(), and eZContentObjectTreeNode\unhideSubTree().


Member Data Documentation

const eZAudit::DEFAULT_LOG_DIR = 'log/audit'

Definition at line 13 of file ezaudit.php.

Referenced by fetchAuditNameSettings().


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