Horde_Kolab_Storage_List_Query_List_Cache_Synchronization::setCache PHP Метод

setCache() публичный Метод

Set the list cache.
public setCache ( Horde_Kolab_Storage_List_Cache $cache )
$cache Horde_Kolab_Storage_List_Cache The reference to the cache that should reveive any updates.
    public function setCache($cache)
    {
        $this->_cache = $cache;
    }

Usage Example

Пример #1
0
 /**
  * Constructor.
  *
  * @param Horde_Kolab_Storage_List_Query_List_Cache_Synchronization $sync The synchronization handler..
  * @param Horde_Kolab_Storage_List_Cache $cache The list cache.
  */
 public function __construct(Horde_Kolab_Storage_List_Query_List_Cache_Synchronization $sync, Horde_Kolab_Storage_List_Cache $cache)
 {
     $this->_sync = $sync;
     $this->_list_cache = $cache;
     $this->_sync->setCache($cache);
 }
All Usage Examples Of Horde_Kolab_Storage_List_Query_List_Cache_Synchronization::setCache