[ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
$Header: /repository/pear/Log/Log/observer.php,v 1.12 2004/01/11 20:49:49 jon Exp $ $Horde: horde/lib/Log/observer.php,v 1.5 2000/06/28 21:36:13 jon Exp $
Version: | $Revision: 1.12 $ |
Poids: | 126 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Log_observer:: (3 méthodes):
Log_observer()
factory()
notify()
Classe: Log_observer - X-Ref
The Log_observer:: class implements the Observer end of a Subject-ObserverLog_observer($priority = PEAR_LOG_INFO) X-Ref |
Creates a new basic Log_observer instance. param: integer $priority The highest priority at which to receive |
factory($type, $priority = PEAR_LOG_INFO, $conf = array() X-Ref |
Attempts to return a new concrete Log_observer instance of the requested type. param: string $type The type of concreate Log_observer subclass param: integer $priority The highest priority at which to receive param: array $conf Optional associative array of additional return: object The newly created concrete Log_observer |
notify($event) X-Ref |
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. :) param: array $event A hash describing the log event. |
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |