PERSONAL
PERSONAL
The possible namespace types (RFC 2342 [5])
The Horde_Kolab_Storage_Folder_Namespace:: class handles IMAP namespaces and allows to derive folder information from folder names.
Copyright 2004-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_any : \Horde_Kolab_Storage_Folder_Namespace_Element
The fallback namespace matching any path if no other namesace matches.
matchNamespace(string $name) : \Horde_Kolab_Storage_Folder_Namespace_Element
Match a folder name with the corresponding namespace.
string | $name | The name of the folder. |
If the namespace of the folder cannot be determined.
The corresponding namespace.
constructFolderName(string $owner, string $subpath, string $prefix = null) : string
Construct the Kolab storage folder name based on the folder title and the owner.
string | $owner | The owner of the folder. |
string | $subpath | The folder subpath. |
string | $prefix | The namespace prefix. |
The folder name for the backend.
_getNamespace(string $type, string $prefix = null) : \Horde_Kolab_Storage_Folder_Namespace_Element
Get the namespace matching the given type and (optional) prefix.
string | $type | The namespace type. |
string | $prefix | The namespace prefix |
The namespace.