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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode 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).

Méthodes protégées

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

Method Details

_subpath() protected méthode

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

generatePath() public méthode

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.
Résultat string The name of the folder.

getOwner() public méthode

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

getType() public méthode

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