getNamespace() 공개 메소드

Retrieve the namespace information for this connection.
public getNamespace ( ) : Horde_Kolab_Storage_Driver_Namespace
리턴 Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler.
예제 #1
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * 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();
     }
 }
예제 #2
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Retrieve the namespace information for this connection.
  *
  * @return Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler.
  */
 public function getNamespace()
 {
     return $this->_driver->getNamespace();
 }
예제 #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));
 }