PHP Class Horde_Kolab_Storage_Folder_Namespace_Element_Other, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_Storage_Folder_Namespace_Element
ファイルを表示 Open project: horde/horde

Public Methods

Method Description
generatePath ( string $subpath, string $owner ) : string Generate a folder path for the given subpath and owner.
getOwner ( string $name ) : string | boolean Return the owner of a folder.
getType ( ) : string Return the type of this namespace (personal, other, or shared).

Protected Methods

Method Description
_subpath ( string $name ) : array Return an array describing the path elements of the folder.

Method Details

_subpath() protected method

Return an array describing the path elements of the folder.
protected _subpath ( string $name ) : array
$name string The name of the folder.
return array The path elements.

generatePath() public method

Generate a folder path for the given subpath and owner.
public generatePath ( string $subpath, string $owner ) : string
$subpath string The subpath of the folder.
$owner string The folder owner.
return string The name of the folder.

getOwner() public method

Return the owner of a folder.
public getOwner ( string $name ) : string | boolean
$name string The name of the folder.
return string | boolean The owner of the folder.

getType() public method

Return the type of this namespace (personal, other, or shared).
public getType ( ) : string
return string The type.