Horde_Kolab_Storage_Driver::getAnnotation PHP Method

getAnnotation() public method

Fetches the annotation from a folder.
public getAnnotation ( string $folder, string $annotation ) : string
$folder string The name of the folder.
$annotation string The annotation to get.
return string The annotation value.
    public function getAnnotation($folder, $annotation);

Usage Example

Example #1
0
 /**
  * Returns the share parameters.
  *
  * @param string $folder The folder name.
  *
  * @return string The folder/share parameters.
  */
 public function getParameters($folder)
 {
     $parameters = $this->_driver->getAnnotation($folder, self::ANNOTATION_SHARE_PARAMETERS);
     if (!empty($parameters)) {
         return unserialize(base64_decode($parameters));
     } else {
         return array();
     }
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::getAnnotation