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

Public Member Functions

 getNamingContexts ()
 Gets the namingContexts.
 
 getSubschemaSubentry ()
 Gets the subschemaSubentry.
 
 supportsVersion ($versions)
 Determines if the version is supported.
 
 supportsSaslMechanism ($mechlist)
 Determines if the sasl mechanism is supported.
 
 getServerType ()
 Gets the server type.
 
 getSchemaDn ()
 Returns the schema DN.
 
- 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 RootDSE.
 

Public Attributes

const SERVER_TYPE_GENERIC = 1
 
const SERVER_TYPE_OPENLDAP = 2
 
const SERVER_TYPE_ACTIVEDIRECTORY = 3
 
const SERVER_TYPE_EDIRECTORY = 4
 

Protected Member Functions

 __construct (Zend_Ldap_Dn $dn, array $data)
 Constructor.
 
- 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 
)
protected

Constructor.

Constructor is protected to enforce the use of factory methods.

Parameters
Zend_Ldap_Dn$dn
array$data

Member Function Documentation

static create ( Zend_Ldap  $ldap)
static
getNamingContexts ( )

Gets the namingContexts.

Returns
array
getSchemaDn ( )

Returns the schema DN.

Returns
Zend_Ldap_Dn
See Also
Zend_Ldap_Dn
getServerType ( )

Gets the server type.

Returns
int
getSubschemaSubentry ( )

Gets the subschemaSubentry.

Returns
string|null
supportsSaslMechanism (   $mechlist)

Determines if the sasl mechanism is supported.

Parameters
string | array$mechlistSASL mechanisms to check
Returns
boolean
supportsVersion (   $versions)

Determines if the version is supported.

Parameters
string | int | array$versionsversion(s) to check
Returns
boolean

Member Data Documentation

const SERVER_TYPE_ACTIVEDIRECTORY = 3
const SERVER_TYPE_EDIRECTORY = 4
const SERVER_TYPE_GENERIC = 1
const SERVER_TYPE_OPENLDAP = 2