Zend Framework
1.12
|
Public Member Functions | |
getAttributeTypes () | |
Gets the attribute Types. | |
getObjectClasses () | |
Gets the object classes. | |
getLdapSyntaxes () | |
Gets the LDAP syntaxes. | |
getMatchingRules () | |
Gets the matching rules. | |
getMatchingRuleUse () | |
Gets the matching rule use. | |
![]() | |
getAttributeTypes () | |
Gets the attribute Types. | |
getObjectClasses () | |
Gets the object classes. | |
![]() | |
reload (Zend_Ldap $ldap=null) | |
Reload node attributes from LDAP. | |
getDn () | |
Gets the DN of the current node as a Zend_Ldap_Dn. | |
getDnString ($caseFold=null) | |
Gets the DN of the current node as a string. | |
getDnArray ($caseFold=null) | |
Gets the DN of the current node as an array. | |
getRdnString ($caseFold=null) | |
Gets the RDN of the current node as a string. | |
getRdnArray ($caseFold=null) | |
Gets the RDN of the current node as an array. | |
getObjectClass () | |
Gets the objectClass of the node. | |
getAttributes ($includeSystemAttributes=true) | |
Gets all attributes of node. | |
toString () | |
Returns the DN of the current node. | |
__toString () | |
Cast to string representation {. | |
toArray ($includeSystemAttributes=true) | |
Returns an array representation of the current node. | |
toJson ($includeSystemAttributes=true) | |
Returns a JSON representation of the current node. | |
getData ($includeSystemAttributes=true) | |
Gets node attributes. | |
existsAttribute ($name, $emptyExists=false) | |
Checks whether a given attribute exists. | |
attributeHasValue ($attribName, $value) | |
Checks if the given value(s) exist in the attribute. | |
getAttribute ($name, $index=null) | |
Gets a LDAP attribute. | |
getDateTimeAttribute ($name, $index=null) | |
Gets a LDAP date/time attribute. | |
__set ($name, $value) | |
Sets a LDAP attribute. | |
__get ($name) | |
Gets a LDAP attribute. | |
__unset ($name) | |
Deletes a LDAP attribute. | |
__isset ($name) | |
Checks whether a given attribute exists. | |
offsetSet ($name, $value) | |
Sets a LDAP attribute. | |
offsetGet ($name) | |
Gets a LDAP attribute. | |
offsetUnset ($name) | |
Deletes a LDAP attribute. | |
offsetExists ($name) | |
Checks whether a given attribute exists. | |
count () | |
Returns the number of attributes in node. | |
Protected Member Functions | |
_parseSchema (Zend_Ldap_Dn $dn, Zend_Ldap $ldap) | |
Parses the schema. | |
_loadAttributeTypes () | |
Loads the attribute Types. | |
_parseAttributeType ($value) | |
Parses an attributeType value. | |
_loadObjectClasses () | |
Loads the object classes. | |
_parseObjectClass ($value) | |
Parses an objectClasses value. | |
_resolveInheritance (Zend_Ldap_Node_Schema_Item $node, array $repository) | |
Resolves inheritance in objectClasses and attributes. | |
_loadLdapSyntaxes () | |
Loads the LDAP syntaxes. | |
_parseLdapSyntax ($value) | |
Parses an ldapSyntaxes value. | |
_loadMatchingRules () | |
Loads the matching rules. | |
_parseMatchingRule ($value) | |
Parses an matchingRules value. | |
_loadMatchingRuleUse () | |
Loads the matching rule use. | |
_parseMatchingRuleUse ($value) | |
Parses an matchingRuleUse value. | |
_ensureNameAttribute (array &$data) | |
Ensures that a name element is present and that it is single-values. | |
_parseLdapSchemaSyntax (array &$data, array $tokens) | |
Parse the given tokens into a data structure. | |
_tokenizeString ($value) | |
Tokenizes the given value into an array. | |
![]() | |
__construct (Zend_Ldap_Dn $dn, array $data, Zend_Ldap $ldap) | |
Constructor. | |
_parseSchema (Zend_Ldap_Dn $dn, Zend_Ldap $ldap) | |
Parses the schema. | |
![]() | |
__construct (Zend_Ldap_Dn $dn, array $data, $fromDataSource) | |
Constructor. | |
_loadData (array $data, $fromDataSource) | |
_getDn () | |
Gets the DN of the current node as a Zend_Ldap_Dn. | |
Protected Attributes | |
$_attributeTypes = null | |
$_objectClasses = null | |
$_ldapSyntaxes = null | |
$_matchingRules = null | |
$_matchingRuleUse = null | |
Additional Inherited Members | |
![]() | |
static | create (Zend_Ldap $ldap) |
Factory method to create the Schema node. | |
![]() | |
const | OBJECTCLASS_TYPE_UNKNOWN = 0 |
const | OBJECTCLASS_TYPE_STRUCTURAL = 1 |
const | OBJECTCLASS_TYPE_ABSTRACT = 3 |
const | OBJECTCLASS_TYPE_AUXILIARY = 4 |
![]() | |
static | $_systemAttributes |
|
protected |
Ensures that a name element is present and that it is single-values.
array | $data |
|
protected |
Loads the attribute Types.
|
protected |
Loads the LDAP syntaxes.
|
protected |
Loads the matching rules.
|
protected |
Loads the matching rule use.
|
protected |
Loads the object classes.
|
protected |
Parses an attributeType value.
string | $value |
|
protected |
Parse the given tokens into a data structure.
array | $data | |
array | $tokens |
|
protected |
Parses an ldapSyntaxes value.
string | $value |
|
protected |
Parses an matchingRules value.
string | $value |
|
protected |
Parses an matchingRuleUse value.
string | $value |
|
protected |
Parses an objectClasses value.
string | $value |
|
protected |
Parses the schema.
Zend_Ldap_Dn | $dn | |
Zend_Ldap | $ldap |
|
protected |
Resolves inheritance in objectClasses and attributes.
Zend_Ldap_Node_Schema_Item | $node | |
array | $repository |
|
protected |
Tokenizes the given value into an array.
string | $value |
getAttributeTypes | ( | ) |
Gets the attribute Types.
getLdapSyntaxes | ( | ) |
Gets the LDAP syntaxes.
getMatchingRules | ( | ) |
Gets the matching rules.
getMatchingRuleUse | ( | ) |
Gets the matching rule use.
getObjectClasses | ( | ) |
Gets the object classes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |