PHP Class Horde_Kolab_Storage_Synchronization, horde

Copyright 2011-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

Protected Properties

Property Type Description
$_strategy Horde_Kolab_Storage_Synchronization Synchronization strategy.

Public Methods

Method Description
__construct ( Horde_Kolab_Storage_Synchronization $strategy = null ) Constructor.
synchronizeData ( Horde_Kolab_Storage_Data $data ) Synchronize the provided data in case the selected synchronization strategy requires it.
synchronizeList ( Horde_Kolab_Storage_List_Tools $list ) Synchronize the provided list in case the selected synchronization strategy requires it.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Storage_Synchronization $strategy = null )
$strategy Horde_Kolab_Storage_Synchronization Optional synchronization strategy.

synchronizeData() public method

Synchronize the provided data in case the selected synchronization strategy requires it.
public synchronizeData ( Horde_Kolab_Storage_Data $data )
$data Horde_Kolab_Storage_Data The data to synchronize.

synchronizeList() public method

Synchronize the provided list in case the selected synchronization strategy requires it.
public synchronizeList ( Horde_Kolab_Storage_List_Tools $list )
$list Horde_Kolab_Storage_List_Tools The list to synchronize.

Property Details

$_strategy protected property

Synchronization strategy.
protected Horde_Kolab_Storage_Synchronization $_strategy
return Horde_Kolab_Storage_Synchronization