IAuditManager View code

Extends

An abstract interface for classes that provide auditing.

package

CMS

license

GPL

since 2.3
author

Robert Campbell

Methods

audit(string $subject, string $msg, mixed $item_id = null) 

Generate A "message" level auditing message.

This is primarily provided to indicate something has happened on a specific data item.

Arguments

string $subject

The message subject. This would usually be a module name.

string $msg

The message content

mixed $item_id

The specific item, if applicable, being adjusted.

notice(string $msg, string $subject = null) 

Generate a low priority message (but highter than audit) that indicates that something has occurred.

Arguments

string $msg

The message content

string $subject

An optional subject

warning(string $msg, string $subject = null) 

Generate a warning message that indicates that something has occurred.

Arguments

string $msg

The message content

string $subject

An optional subject

error(string $msg, string $subject = null) 

Generate an error message that indicates that something has occurred.

Arguments

string $msg

The message content

string $subject

An optional subject