listFolders() 공개 메소드

Retrieves a list of folders from the server.
public listFolders ( ) : array
리턴 array The list of folders.
예제 #1
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Get the folder owners.
  *
  * @return array The folder owners with the folder names as key and the
  *               owner as values.
  */
 public function listOwners()
 {
     $result = array();
     $namespace = $this->_driver->getNamespace();
     foreach ($this->_driver->listFolders() as $folder) {
         $result[$folder] = $namespace->getOwner($folder);
     }
     return $result;
 }
예제 #2
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Retrieves a list of mailboxes from the server.
  *
  * @return array The list of mailboxes.
  */
 public function listFolders()
 {
     return $this->_driver->listFolders();
 }
예제 #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));
 }