Retrieve the namespace information for this connection.
public getNamespace ( ) : Horde_Kolab_Storage_Driver_Namespace | ||
리턴 | Horde_Kolab_Storage_Driver_Namespace | The initialized namespace handler. |
/** * 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(); } }
/** * Retrieve the namespace information for this connection. * * @return Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler. */ public function getNamespace() { return $this->_driver->getNamespace(); }
/** * 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)); }