1: <?php
2: /**
3: * The Horde_Kolab_Storage_Folder_Namespace_Element_Shared:: class represents
4: * the shared namespace.
5: *
6: * PHP version 5
7: *
8: * @category Kolab
9: * @package Kolab_Storage
10: * @author Gunnar Wrobel <wrobel@pardus.de>
11: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
12: * @link http://pear.horde.org/index.php?package=Kolab_Storage
13: */
14:
15: /**
16: * The Horde_Kolab_Storage_Folder_Namespace_Element_Shared:: class represents
17: * the shared namespace.
18: *
19: * Copyright 2010-2012 Horde LLC (http://www.horde.org/)
20: *
21: * See the enclosed file COPYING for license information (LGPL). If you
22: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
23: *
24: * @category Kolab
25: * @package Kolab_Storage
26: * @author Gunnar Wrobel <wrobel@pardus.de>
27: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
28: * @link http://pear.horde.org/index.php?package=Kolab_Storage
29: */
30: class Horde_Kolab_Storage_Folder_Namespace_Element_Shared
31: extends Horde_Kolab_Storage_Folder_Namespace_Element
32: {
33: /**
34: * Return the type of this namespace (personal, other, or shared).
35: *
36: * @return string The type.
37: */
38: public function getType()
39: {
40: return Horde_Kolab_Storage_Folder_Namespace::SHARED;
41: }
42:
43: /**
44: * Return the owner of a folder.
45: *
46: * @param string $name The name of the folder.
47: *
48: * @return string|boolean The owner of the folder.
49: */
50: public function getOwner($name)
51: {
52: return false;
53: }
54: }