Horde_Kolab_Storage_Driver::listAnnotation PHP Method

listAnnotation() public method

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.
    public function listAnnotation($annotation);

Usage Example

Example #1
0
 /**
  * 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;
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::listAnnotation