Horde_Kolab_Storage_List_Synchronization_Decorator_Log
extends Horde_Kolab_Storage_List_Synchronization
in package
Logs list synchronization requests.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $_logger : mixed
- A log handler.
- $_synchronization : Horde_Kolab_Storage_List_Synchronization
- Decorated synchronization handler.
- __construct() : mixed
- Constructor.
- registerListener() : mixed
- Register a new synchronization listener.
- synchronize() : mixed
- Inform all listeners about the synchronization call.
Properties
$_logger
A log handler.
private
mixed
$_logger
$_synchronization
Decorated synchronization handler.
private
Horde_Kolab_Storage_List_Synchronization
$_synchronization
Methods
__construct()
Constructor.
public
__construct(Horde_Kolab_Storage_List_Synchronization $synchronization, mixed $logger) : mixed
Parameters
- $synchronization : Horde_Kolab_Storage_List_Synchronization
-
The synchronization handler.
- $logger : mixed
-
The log handler. This instance must provide the debug() method.
Return values
mixed —registerListener()
Register a new synchronization listener.
public
registerListener(Horde_Kolab_Storage_List_Synchronization_Listener $listener) : mixed
Parameters
- $listener : Horde_Kolab_Storage_List_Synchronization_Listener
-
The new listener.
Return values
mixed —synchronize()
Inform all listeners about the synchronization call.
public
synchronize() : mixed