Logo Search packages:      
Sourcecode: dacode version File versions  Download package

Ldap::isObjectClass ( ocname  ) 

Determines wether the object class has been defined in LDAP config

Parameters:
string the name of the object class. boolean private

Definition at line 186 of file ldap.php3.

References count(), and readConfiguration().

Referenced by getAllows(), getRequires(), isAllowed(), and isRequired().

      {
            $ocname = strtolower($ocname);

            if (count($this->objectClasses) == 0)
                  $this->readConfiguration();

            if (is_array($this->objectClasses[$ocname]))
                  return(1);
            return(0);
      }


Generated by  Doxygen 1.6.0   Back to index