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

Public Member Functions

 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.
 

Static Public Member Functions

static create (Zend_Ldap $ldap)
 Factory method to create the Schema node.
 

Public Attributes

const OBJECTCLASS_TYPE_UNKNOWN = 0
 
const OBJECTCLASS_TYPE_STRUCTURAL = 1
 
const OBJECTCLASS_TYPE_ABSTRACT = 3
 
const OBJECTCLASS_TYPE_AUXILIARY = 4
 

Protected Member Functions

 __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.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Ldap_Node_Abstract
 $_dn
 
 $_currentData
 
- Static Protected Attributes inherited from Zend_Ldap_Node_Abstract
static $_systemAttributes
 

Constructor & Destructor Documentation

__construct ( Zend_Ldap_Dn  $dn,
array  $data,
Zend_Ldap  $ldap 
)
protected

Constructor.

Constructor is protected to enforce the use of factory methods.

Parameters
Zend_Ldap_Dn$dn
array$data
Zend_Ldap$ldap

Member Function Documentation

_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
static create ( Zend_Ldap  $ldap)
static

Factory method to create the Schema node.

Parameters
Zend_Ldap$ldap
Returns
Zend_Ldap_Node_Schema
Exceptions
Zend_Ldap_Exception
See Also
Zend_Ldap_Node_Schema_ActiveDirectory
Zend_Ldap_Node_RootDse_ActiveDirectory
getAttributeTypes ( )

Gets the attribute Types.

Returns
array
getObjectClasses ( )

Gets the object classes.

Returns
array

Member Data Documentation

const OBJECTCLASS_TYPE_ABSTRACT = 3
const OBJECTCLASS_TYPE_AUXILIARY = 4
const OBJECTCLASS_TYPE_STRUCTURAL = 1
const OBJECTCLASS_TYPE_UNKNOWN = 0