Search The Internet     Search ypass.net


 UNIX / Solaris 8 Software Dictionary 3S Info LegoRacers Other Crap 

       yPass Home > yPass Software > PHP Modules > LDAP Class > getObjectClasses.html > getObjectClasses()
LDAP
XML
DNS

getObjectClasses()

    array getObjectClasses()
This function will return an array of the objectClasses you have defined in your slapd.oc.conf file.

Example:

$ldap = new LDAP();
$ocs = $ldap->getObjectClasses();
for ($ctr = 0; $ctr < count($ocs); $ctr++)
{
	echo $ocs[$ctr]
}