Horde_Kolab_Storage_List_Cache::getLongTerm PHP Method

getLongTerm() public method

Return long term information.
public getLongTerm ( string $key ) : mixed
$key string The long term key.
return mixed The long term data.
    public function getLongTerm($key)
    {
        if ($this->hasLongTerm($key)) {
            return $this->_data[self::LONG_TERM][$key];
        } else {
            throw new Horde_Kolab_Storage_Exception(sprintf('Missing long term cache data (Key: %s). Synchronize first!', $key));
        }
    }