getRequires()
-
array getRequires(string objectClassName)
Example:
$ldap = new LDAP();
$oc = "organizationalUnit";
$required = $ldap->getRequires($oc);
echo "ObjectClass '$oc' requires the following attributes:<br>";
for ($ctr = 0; $ctr < count($required); $ctr++)
{
echo $required[$ctr] . "<br>\n";
}