Retrieves the specified annotation for the complete list of folders.
public listAnnotation ( string $annotation ) : array | ||
$annotation | string | The name of the annotation to retrieve. |
return | array | An associative array combining the folder names as key with the corresponding annotation value. |
/** * Returns the folder type annotation as associative array. * * @return array The list folder types with the folder names as key and the * type handler as values. */ private function listFolderTypeAnnotations() { $result = array(); foreach ($this->_driver->listAnnotation(self::ANNOTATION_FOLDER_TYPE) as $folder => $annotation) { $result[$folder] = $this->_folder_types->create($annotation); } return $result; }
/** * Retrieves the specified annotation for the complete list of mailboxes. * * @param string $annotation The name of the annotation to retrieve. * * @return array An associative array combining the folder names as key with * the corresponding annotation value. */ public function listAnnotation($annotation) { return $this->_driver->listAnnotation($annotation); }
/** * 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)); }