Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Ldap_Node_Schema_OpenLdap Class Reference

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.
 
- Public Member Functions inherited from Zend_Ldap_Node_Schema
 getAttributeTypes ()
 Gets the attribute Types.
 
 getObjectClasses ()
 Gets the object classes.
 
- Public Member Functions inherited from Zend_Ldap_Node_Abstract
 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.
 
- Protected Member Functions inherited from Zend_Ldap_Node_Schema
 __construct (Zend_Ldap_Dn $dn, array $data, Zend_Ldap $ldap)
 Constructor.
 
 _parseSchema (Zend_Ldap_Dn $dn, Zend_Ldap $ldap)
 Parses the schema.
 
- Protected Member Functions inherited from Zend_Ldap_Node_Abstract
 __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 Public Member Functions inherited from Zend_Ldap_Node_Schema
static create (Zend_Ldap $ldap)
 Factory method to create the Schema node.
 
- Public Attributes inherited from Zend_Ldap_Node_Schema
const OBJECTCLASS_TYPE_UNKNOWN = 0
 
const OBJECTCLASS_TYPE_STRUCTURAL = 1
 
const OBJECTCLASS_TYPE_ABSTRACT = 3
 
const OBJECTCLASS_TYPE_AUXILIARY = 4
 
- Static Protected Attributes inherited from Zend_Ldap_Node_Abstract
static $_systemAttributes
 

Member Function Documentation

_ensureNameAttribute ( array &  $data)
protected

Ensures that a name element is present and that it is single-values.

Parameters
array$data
_loadAttributeTypes ( )
protected

Loads the attribute Types.

Returns
void
_loadLdapSyntaxes ( )
protected

Loads the LDAP syntaxes.

Returns
void
_loadMatchingRules ( )
protected

Loads the matching rules.

Returns
void
_loadMatchingRuleUse ( )
protected

Loads the matching rule use.

Returns
void
_loadObjectClasses ( )
protected

Loads the object classes.

Returns
void
_parseAttributeType (   $value)
protected

Parses an attributeType value.

Parameters
string$value
Returns
array
_parseLdapSchemaSyntax ( array &  $data,
array  $tokens 
)
protected

Parse the given tokens into a data structure.

Parameters
array$data
array$tokens
Returns
void
_parseLdapSyntax (   $value)
protected

Parses an ldapSyntaxes value.

Parameters
string$value
Returns
array
_parseMatchingRule (   $value)
protected

Parses an matchingRules value.

Parameters
string$value
Returns
array
_parseMatchingRuleUse (   $value)
protected

Parses an matchingRuleUse value.

Parameters
string$value
Returns
array
_parseObjectClass (   $value)
protected

Parses an objectClasses value.

Parameters
string$value
Returns
array
_parseSchema ( Zend_Ldap_Dn  $dn,
Zend_Ldap  $ldap 
)
protected

Parses the schema.

Parameters
Zend_Ldap_Dn$dn
Zend_Ldap$ldap
Returns
Zend_Ldap_Node_Schema Provides a fluid interface
_resolveInheritance ( Zend_Ldap_Node_Schema_Item  $node,
array  $repository 
)
protected

Resolves inheritance in objectClasses and attributes.

Parameters
Zend_Ldap_Node_Schema_Item$node
array$repository
_tokenizeString (   $value)
protected

Tokenizes the given value into an array.

Parameters
string$value
Returns
array tokens
getAttributeTypes ( )

Gets the attribute Types.

Returns
array
getLdapSyntaxes ( )

Gets the LDAP syntaxes.

Returns
array
getMatchingRules ( )

Gets the matching rules.

Returns
array
getMatchingRuleUse ( )

Gets the matching rule use.

Returns
array
getObjectClasses ( )

Gets the object classes.

Returns
array

Member Data Documentation

$_attributeTypes = null
protected
$_ldapSyntaxes = null
protected
$_matchingRules = null
protected
$_matchingRuleUse = null
protected
$_objectClasses = null
protected