Add the current Kolab server default namespace.
authorGunnar Wrobel <p@rdus.de>
Mon, 15 Mar 2010 05:50:24 +0000 (06:50 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Mon, 15 Mar 2010 10:33:22 +0000 (11:33 +0100)
framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php

index d1005ee..ea487ee 100644 (file)
  */
 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.