Property | Type | Description | |
---|---|---|---|
$types | array | Map of entry types to LDAP attributes of subschema entry. |
Property | Type | Description | |
---|---|---|---|
$_attributeTypes | array | Array of entries belonging to this type | |
$_dITContentRules | |||
$_dITStructureRules | |||
$_initialized | boolean | Whether the schema is initialized. | |
$_ldapSyntaxes | |||
$_matchingRuleUse | |||
$_matchingRules | |||
$_nameForms | |||
$_objectClasses | |||
$_oids | array | Hash of all fetched OIDs. |
Method | Description | |
---|---|---|
__construct ( Horde_Ldap $ldap, string $dn = null ) | Constructor. | |
get ( string $type, string $name ) : mixed | Returns a specific entry. | |
getAll ( string $type ) : array | Returns a hash of entries for the given type. | |
isBinary ( string $attribute ) : boolean | Returns wether a attribute syntax is binary or not. | |
may ( string $oc, boolean $checksup = false ) : array | Fetches attributes that MAY be present in the given objectclass. | |
must ( string $oc, boolean $checksup = false ) : array | Fetches attributes that MUST be present in the given objectclass. | |
parse ( Horde_Ldap_Entry $entry ) | Parses the schema of the given subschema entry. | |
superclass ( string $oc ) : array | Returns the name(s) of the immediate superclass(es). |
Method | Description | |
---|---|---|
_getAttr ( string $oc, string $attr ) : array | Fetches the given attribute from the given objectclass. | |
_parse_entry ( string $value ) : array | Parses an attribute value into a schema entry. | |
_tokenize ( string $value ) : array | Tokenizes the given value into an array of tokens. |
public __construct ( Horde_Ldap $ldap, string $dn = null ) | ||
$ldap | Horde_Ldap | LDAP connection. |
$dn | string | Subschema entry DN. |
protected _parse_entry ( string $value ) : array | ||
$value | string | Attribute value. |
return | array | Schema entry array. |
public parse ( Horde_Ldap_Entry $entry ) | ||
$entry | Horde_Ldap_Entry | Subschema entry. |
public superclass ( string $oc ) : array | ||
$oc | string | Name or OID of objectclass. |
return | array |
protected array $_attributeTypes | ||
return | array |
protected bool $_initialized | ||
return | boolean |
public array $types | ||
return | array |