Example:
$ldap = new LDAP(); $oc = "organizationalUnit"; $allowed = $ldap->getAllows($oc); echo "ObjectClass '$oc' allows the following attributes:<br>"; for ($ctr = 0; $ctr < count($allowed); $ctr++) { echo $allowed[$ctr] . "<br>\n"; }