diff -r 000000000000 -r 4eba9c11703f web/Zend/Ldap/Node/Schema/ActiveDirectory.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Ldap/Node/Schema/ActiveDirectory.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,103 @@ +search('(objectClass=classSchema)', $dn, + Zend_Ldap::SEARCH_SCOPE_ONE) as $node) { + $val = new Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory($node); + $this->_objectClasses[$val->getName()] = $val; + } + foreach ($ldap->search('(objectClass=attributeSchema)', $dn, + Zend_Ldap::SEARCH_SCOPE_ONE) as $node) { + $val = new Zend_Ldap_Node_Schema_AttributeType_ActiveDirectory($node); + $this->_attributeTypes[$val->getName()] = $val; + } + return $this; + } + + /** + * Gets the attribute Types + * + * @return array + */ + public function getAttributeTypes() + { + return $this->_attributeTypes; + } + + /** + * Gets the object classes + * + * @return array + */ + public function getObjectClasses() + { + return $this->_objectClasses; + } +} \ No newline at end of file