Example:
if (count($ldap->objectClasses) == 0) $ldap->readConfiguration();This array contains contains the information which gets read from the slapd.oc.conf file. It is a three dimensional array with the following format:
$ldap->objectClasses[objectClassName][requires|allows][integer]So $ldap->objectClasses["top"]["requires"] is an array of all of the attributes required by the top objectclass. The array indices are integers from 0 to NumAttributesRequired
$ldap->objectClasses["inetOrgPerson"]["allows"] is an array of all of the attributes allowed by the inetOrgPerson objectclass. The array indices are integers from 0 to NumAttributesRequired