From: Gunnar Wrobel
Date: Mon, 15 Mar 2010 05:50:24 +0000 (+0100) Subject: Add the current Kolab server default namespace. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b156707dfe1fbd46e43a747d70fec2aead80a382;p=horde.git Add the current Kolab server default namespace. --- diff --git a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php index d1005ee96..ea487eec5 100644 --- a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php +++ b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php @@ -29,6 +29,27 @@ */ class Horde_Kolab_Storage_Namespace { + /** The possible namespace types (RFC 2342 [5]) */ + const PRIV = 'private'; + const OTHER = 'other'; + const SHARED = 'shared'; + + /** + * The namespaces. + * + * @var array + */ + private $_namespaces = array( + self::PRIV => array( + 'INBOX' => '/', + ), + self::OTHER => array( + 'user' => '/', + ), + self::SHARED => array( + '' => '/', + ), + ); /** * Return the title of a folder.