Horde_Kolab_Storage_Driver::listFolders PHP Method

listFolders() public method

Retrieves a list of folders from the server.
public listFolders ( ) : array
return array The list of folders.
    public function listFolders();

Usage Example

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