/** * 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; }
/** * Retrieves a list of mailboxes from the server. * * @return array The list of mailboxes. */ public function listFolders() { return $this->_driver->listFolders(); }
/** * 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)); }