PHP Class Horde_Kolab_Storage_Folder_Namespace_Element_SharedWithPrefix, 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_Shared
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_prefix string The prefix to hide when referencing this namespace.

Méthodes publiques

Méthode Description
__construct ( string $name, string $delimiter, string $user, string $prefix ) Constructor.
generateName ( array $path ) : string Generate a folder path for the given path in this namespace.
generatePath ( string $subpath, string $owner ) : string Generate a folder path for the given subpath and owner.

Méthodes protégées

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

Method Details

__construct() public méthode

Constructor.
public __construct ( string $name, string $delimiter, string $user, string $prefix )
$name string The prefix identifying this namespace.
$delimiter string The delimiter used for this namespace.
$user string The current user.
$prefix string The prefix to hide.

_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.

generateName() public méthode

Generate a folder path for the given path in this namespace.
public generateName ( array $path ) : string
$path array The path of the folder.
Résultat string The name of the folder.

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.

Property Details

$_prefix protected_oe property

The prefix to hide when referencing this namespace.
protected string $_prefix
Résultat string