Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Gunnar Wrobel (wrobel@pardus.de)
Exemplo n.º 1
0
 /**
  * Prepare the query for shares.
  *
  * @param array $params Query specific configuration parameters.
  */
 private function _prepareShareQuery($params = null)
 {
     $this->_queries[self::QUERY_SHARE] = new Horde_Kolab_Storage_List_Query_Share_Base($this->_driver);
     if (!empty($params['cache'])) {
         $this->_queries[self::QUERY_SHARE] = new Horde_Kolab_Storage_List_Query_Share_Cache($this->_queries[self::QUERY_SHARE], $this->_list_cache);
         $this->_synchronization->registerListener($this->_queries[self::QUERY_SHARE]);
         $this->_manipulation->registerListener($this->_queries[self::QUERY_SHARE]);
     }
 }
Exemplo n.º 2
0
Arquivo: Log.php Projeto: horde/horde
 /**
  * Register a new synchronization listener.
  *
  * @param Horde_Kolab_Storage_List_Synchronization_Listener $listener The new listener.
  */
 public function registerListener(Horde_Kolab_Storage_List_Synchronization_Listener $listener)
 {
     $this->_synchronization->registerListener($listener);
 }