Horde_Kolab_Storage_Folder_Namespace::getOwner PHP Method

getOwner() public method

Return the owner of a folder.
public getOwner ( string $name ) : string
$name string The name of the folder.
return string The owner of the folder.
    public function getOwner($name)
    {
        return $this->matchNamespace($name)->getOwner($name);
    }

Usage Example

Ejemplo n.º 1
0
Archivo: Data.php Proyecto: horde/horde
 /**
  * Prepare an array representing the folder data.
  *
  * @return array The folder data.
  */
 public function toArray()
 {
     return array('folder' => $this->_path, 'type' => $this->_type->getType(), 'default' => $this->_type->isDefault(), 'owner' => $this->_namespace->getOwner($this->_path), 'name' => $this->_namespace->getTitle($this->_path), 'subpath' => $this->_namespace->getSubpath($this->_path), 'parent' => $this->_namespace->getParent($this->_path), 'namespace' => $this->_namespace->matchNamespace($this->_path)->getType(), 'prefix' => $this->_namespace->matchNamespace($this->_path)->getName(), 'delimiter' => $this->_namespace->matchNamespace($this->_path)->getDelimiter());
 }
All Usage Examples Of Horde_Kolab_Storage_Folder_Namespace::getOwner