1 | <?php |
---|
2 | /** |
---|
3 | * Zend Framework |
---|
4 | * |
---|
5 | * LICENSE |
---|
6 | * |
---|
7 | * This source file is subject to the new BSD license that is bundled |
---|
8 | * with this package in the file LICENSE.txt. |
---|
9 | * It is also available through the world-wide-web at this URL: |
---|
10 | * http://framework.zend.com/license/new-bsd |
---|
11 | * If you did not receive a copy of the license and are unable to |
---|
12 | * obtain it through the world-wide-web, please send an email |
---|
13 | * to license@zend.com so we can send you a copy immediately. |
---|
14 | * |
---|
15 | * @category Zend |
---|
16 | * @package Zend_Ldap |
---|
17 | * @subpackage Schema |
---|
18 | * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
---|
19 | * @license http://framework.zend.com/license/new-bsd New BSD License |
---|
20 | * @version $Id: ActiveDirectory.php 20096 2010-01-06 02:05:09Z bkarwin $ |
---|
21 | */ |
---|
22 | |
---|
23 | /** |
---|
24 | * @see Zend_Ldap_Node_Schema_Item |
---|
25 | */ |
---|
26 | require_once 'Zend/Ldap/Node/Schema/Item.php'; |
---|
27 | /** |
---|
28 | * @see Zend_Ldap_Node_Schema_ObjectClass_Interface |
---|
29 | */ |
---|
30 | require_once 'Zend/Ldap/Node/Schema/ObjectClass/Interface.php'; |
---|
31 | |
---|
32 | /** |
---|
33 | * Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory provides access to the objectClass |
---|
34 | * schema information on an Active Directory server. |
---|
35 | * |
---|
36 | * @category Zend |
---|
37 | * @package Zend_Ldap |
---|
38 | * @subpackage Schema |
---|
39 | * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
---|
40 | * @license http://framework.zend.com/license/new-bsd New BSD License |
---|
41 | */ |
---|
42 | class Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory extends Zend_Ldap_Node_Schema_Item |
---|
43 | implements Zend_Ldap_Node_Schema_ObjectClass_Interface |
---|
44 | { |
---|
45 | /** |
---|
46 | * Gets the objectClass name |
---|
47 | * |
---|
48 | * @return string |
---|
49 | */ |
---|
50 | public function getName() |
---|
51 | { |
---|
52 | return $this->ldapdisplayname[0]; |
---|
53 | } |
---|
54 | |
---|
55 | /** |
---|
56 | * Gets the objectClass OID |
---|
57 | * |
---|
58 | * @return string |
---|
59 | */ |
---|
60 | public function getOid() |
---|
61 | { |
---|
62 | |
---|
63 | } |
---|
64 | |
---|
65 | /** |
---|
66 | * Gets the attributes that this objectClass must contain |
---|
67 | * |
---|
68 | * @return array |
---|
69 | */ |
---|
70 | public function getMustContain() |
---|
71 | { |
---|
72 | |
---|
73 | } |
---|
74 | |
---|
75 | /** |
---|
76 | * Gets the attributes that this objectClass may contain |
---|
77 | * |
---|
78 | * @return array |
---|
79 | */ |
---|
80 | public function getMayContain() |
---|
81 | { |
---|
82 | |
---|
83 | } |
---|
84 | |
---|
85 | /** |
---|
86 | * Gets the objectClass description |
---|
87 | * |
---|
88 | * @return string |
---|
89 | */ |
---|
90 | public function getDescription() |
---|
91 | { |
---|
92 | |
---|
93 | } |
---|
94 | |
---|
95 | /** |
---|
96 | * Gets the objectClass type |
---|
97 | * |
---|
98 | * @return integer |
---|
99 | */ |
---|
100 | public function getType() |
---|
101 | { |
---|
102 | |
---|
103 | } |
---|
104 | |
---|
105 | /** |
---|
106 | * Returns the parent objectClasses of this class. |
---|
107 | * This includes structural, abstract and auxiliary objectClasses |
---|
108 | * |
---|
109 | * @return array |
---|
110 | */ |
---|
111 | public function getParentClasses() |
---|
112 | { |
---|
113 | |
---|
114 | } |
---|
115 | } |
---|