|
ILIAS
Release_4_0_x_branch Revision 61816
|
Collaboration diagram for Log_observer:Public Member Functions | |
| Log_observer ($priority=PEAR_LOG_INFO) | |
| Creates a new basic Log_observer instance. | |
| & | factory ($type, $priority=PEAR_LOG_INFO, $conf=array()) |
| Attempts to return a new concrete Log_observer instance of the requested type. | |
| notify ($event) | |
| This is a stub method to make sure that Log_Observer classes do something when they are notified of a message. | |
Data Fields | |
| $_id = 0 | |
| $_priority = PEAR_LOG_INFO | |
Definition at line 21 of file observer.php.
| & Log_observer::factory | ( | $type, | |
$priority = PEAR_LOG_INFO, |
|||
$conf = array() |
|||
| ) |
Attempts to return a new concrete Log_observer instance of the requested type.
| string | $type | The type of concreate Log_observer subclass to return. |
| integer | $priority | The highest priority at which to receive log event notifications. |
| array | $conf | Optional associative array of additional configuration values. |
Definition at line 70 of file observer.php.
| Log_observer::Log_observer | ( | $priority = PEAR_LOG_INFO | ) |
Creates a new basic Log_observer instance.
| integer | $priority | The highest priority at which to receive log event notifications. |
public
Definition at line 50 of file observer.php.
| Log_observer::notify | ( | $event | ) |
This is a stub method to make sure that Log_Observer classes do something when they are notified of a message.
The default behavior is to just print the message, which is obviously not desireable in practically any situation - which is why you need to override this method. :)
| array | $event | A hash describing the log event. |
Definition at line 125 of file observer.php.
| Log_observer::$_id = 0 |
Definition at line 29 of file observer.php.
| Log_observer::$_priority = PEAR_LOG_INFO |
Definition at line 40 of file observer.php.