Horde_Kolab_Storage_List_Synchronization::registerListener PHP Method

registerListener() abstract public method

Register a new synchronization listener.
abstract public registerListener ( Horde_Kolab_Storage_List_Synchronization_Listener $listener )
$listener Horde_Kolab_Storage_List_Synchronization_Listener The new listener.
    public abstract function registerListener(Horde_Kolab_Storage_List_Synchronization_Listener $listener);

Usage Example

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]);
     }
 }
All Usage Examples Of Horde_Kolab_Storage_List_Synchronization::registerListener
Horde_Kolab_Storage_List_Synchronization