PHP Class Horde_Kolab_Storage_List_Synchronization_Decorator_Log, horde
Copyright 2012-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.
Show file
Open project: horde/horde
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( Horde_Kolab_Storage_List_Synchronization $synchronization, mixed $logger ) |
Constructor. |
|
registerListener ( Horde_Kolab_Storage_List_Synchronization_Listener $listener ) |
Register a new synchronization listener. |
|
synchronize ( ) |
Inform all listeners about the synchronization call. |
|
Method Details
__construct()
public method
public __construct ( Horde_Kolab_Storage_List_Synchronization $synchronization, mixed $logger ) |
$synchronization |
Horde_Kolab_Storage_List_Synchronization |
The synchronization handler. |
$logger |
mixed |
The log handler. This instance must provide the debug() method. |
registerListener()
public method
Register a new synchronization listener.
public registerListener ( Horde_Kolab_Storage_List_Synchronization_Listener $listener ) |
$listener |
Horde_Kolab_Storage_List_Synchronization_Listener |
The new listener. |
synchronize()
public method
Inform all listeners about the synchronization call.