Copyright 2010-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: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: implements Horde_Kolab_Format
Example #1
0
 /**
  * Constructor.
  *
  * @param Horde_Kolab_Format  $handler The handler to be decorated.
  * @param Horde_Support_Timer $timer   The timer.
  * @param mixed               $logger  The optional logger. If set this
  *                                     needs to provide a debug() method.
  */
 public function __construct(Horde_Kolab_Format $handler, Horde_Support_Timer $timer, $logger = null)
 {
     parent::__construct($handler);
     $this->_timer = $timer;
     $this->_logger = $logger;
 }
Example #2
0
 /**
  * Constructor.
  *
  * @param Horde_Kolab_Format   $handler The handler to be decorated.
  * @param Horde_Support_Memory $memory  The memory tracker.
  * @param mixed                $logger  The logger. This must provide
  *                                      a debug() method.
  */
 public function __construct(Horde_Kolab_Format $handler, Horde_Support_Memory $memory, $logger = null)
 {
     parent::__construct($handler);
     $this->_memory = $memory;
     $this->_logger = $logger;
 }