getNamespace() public méthode

Retrieve the namespace information for this connection.
public getNamespace ( ) : Horde_Kolab_Storage_Driver_Namespace
Résultat Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler.
Exemple #1
0
 /**
  * Initialize the list of defaults.
  */
 private function _initDefaults()
 {
     if (!$this->_defaults->isComplete()) {
         $namespace = $this->_driver->getNamespace();
         foreach ($this->listFolderTypeAnnotations() as $folder => $annotation) {
             if ($annotation->isDefault()) {
                 $this->_defaults->rememberDefault($folder, $annotation->getType(), $namespace->getOwner($folder), $namespace->matchNamespace($folder)->getType() == Horde_Kolab_Storage_Folder_Namespace::PERSONAL);
             }
         }
         $this->_defaults->markComplete();
     }
 }
Exemple #2
0
 /**
  * Retrieve the namespace information for this connection.
  *
  * @return Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler.
  */
 public function getNamespace()
 {
     return $this->_driver->getNamespace();
 }
Exemple #3
0
 /**
  * Synchronize the query data with the information from the backend.
  */
 public function synchronize()
 {
     $this->_synchronize($this->_driver->getNamespace(), $this->_driver->listFolders(), $this->_driver->listAnnotation(Horde_Kolab_Storage_List_Query_List::ANNOTATION_FOLDER_TYPE));
 }