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; } }