Horde_Kolab_Storage_Cache::storeList PHP Method

storeList() public method

Cache list data.
public storeList ( string $list_id, string $data )
$list_id string ID of the connection matching the list.
$data string The data to be cached.
    public function storeList($list_id, $data)
    {
        $this->_horde_cache->set($list_id, $data, 0);
    }

Usage Example

Example #1
0
 /**
  * Cache the list data.
  *
  * @return NULL
  */
 public function save()
 {
     $this->_cache->storeList($this->getListId(), serialize($this->_data));
 }