PHP Class Horde_Notification_Handler_Decorator_Log, horde

Copyright 2001-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Notification_Handler_Decorator_Base
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
__construct ( object $logger ) Constructor.
push ( Horde_Notification_Event $event, array $options ) Event is being added to the Horde message stack.

Method Details

__construct() public method

Constructor.
public __construct ( object $logger )
$logger object The log handler. The provided instance is required to implement the debug() function. You should be able to use a common Logger here (PEAR Log, Horde_Log_Logger, or Zend_Log).

push() public method

Event is being added to the Horde message stack.
public push ( Horde_Notification_Event $event, array $options )
$event Horde_Notification_Event Event object.
$options array Additional options (see Horde_Notification_Handler for details).