search( '(objectClass=classSchema)', $dn, Ldap\Ldap::SEARCH_SCOPE_ONE ) as $node) { $val = new ObjectClass\ActiveDirectory($node); $this->objectClasses[$val->getName()] = $val; } foreach ($ldap->search( '(objectClass=attributeSchema)', $dn, Ldap\Ldap::SEARCH_SCOPE_ONE ) as $node) { $val = new 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; } }