Ejemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param Horde_Kolab_Storage_List_Query_Share $query The underlying share query.
  * @param Horde_Kolab_Storage_List_Cache $cache The list cache.
  */
 public function __construct(Horde_Kolab_Storage_List_Query_Share $query, Horde_Kolab_Storage_List_Cache $cache)
 {
     $this->_query = $query;
     $this->_list_cache = $cache;
     if ($this->_list_cache->hasQuery(self::DESCRIPTIONS)) {
         $this->_descriptions = $this->_list_cache->getQuery(self::DESCRIPTIONS);
     } else {
         $this->_descriptions = array();
     }
     if ($this->_list_cache->hasLongTerm(self::PARAMETERS)) {
         $this->_parameters = $this->_list_cache->getLongTerm(self::PARAMETERS);
     } else {
         $this->_parameters = array();
     }
 }