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
파일: Cache.php 프로젝트: jubinpatel/horde
 /**
  * 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