Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node of a Novell eDirectory server.
category | Zend |
---|---|
package | Zend_Ldap |
subpackage | RootDSE |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Ldap_Node_RootDse |
__get(string $name) : array
This is an offline method.
string
\Zend_Ldap_Exception |
---|
array
__isset(string $name) : boolean
Empty attributes will be treated as non-existent.
string
boolean
__set(string $name, mixed $value) : null
This is an offline method.
string
mixed
\BadMethodCallException |
---|
null
__toString() : string
string
__unset(string $name) : null
This method deletes the attribute.
This is an offline method.
string
\BadMethodCallException |
---|
null
attributeHasValue(string $attribName, mixed|array $value) : boolean
string
mixed
array
boolean
count() : integer
Implements Countable
integer
create(\Zend_Ldap $ldap) : \Zend_Ldap_Node_RootDse
\Zend_Ldap
\Zend_Ldap_Exception |
---|
\Zend_Ldap_Node_RootDse
existsAttribute(string $name, boolean $emptyExists = false
) : boolean
If $emptyExists is false empty attributes (containing only array()) are treated as non-existent returning false. If $emptyExists is true empty attributes are treated as existent returning true. In this case method returns false only if the attribute name is missing in the key-collection.
string
boolean
boolean
getAttribute(string $name, integer $index = null
) : mixed
This is an offline method.
string
integer
\Zend_Ldap_Exception |
---|
mixed
getAttributes(boolean $includeSystemAttributes = true
) : array
The collection contains all attributes.
This is an offline method.
boolean
array
getData(boolean $includeSystemAttributes = true
) : array
The array contains all attributes in its internal format (no conversion).
This is an offline method.
boolean
array
getDateTimeAttribute(string $name, integer $index = null
) : array | integer
This is an offline method.
string
integer
\Zend_Ldap_Exception |
---|
array
integer
getDn() : \Zend_Ldap_Dn
The method returns a clone of the node's DN to prohibit modification.
This is an offline method.
\Zend_Ldap_Dn
getDnArray(string $caseFold = null
) : array
This is an offline method.
string
array
getDnString(string $caseFold = null
) : string
This is an offline method.
string
string
getDsaName() : string | null
string
null
getNamingContexts() : array
array
getObjectClass() : array
array
getRdnArray(string $caseFold = null
) : array
This is an offline method.
string
array
getRdnString(string $caseFold = null
) : string
This is an offline method.
string
string
getSchemaDn() : \Zend_Ldap_Dn
\Zend_Ldap_Dn
getServerType() : integer
inherited_from | \Zend_Ldap_Node_RootDse::getServerType() |
---|
integer
getServerType() : integer
integer
getStatisticsAbandonOps() : string | null
string
null
getStatisticsChainings() : string | null
string
null
getStatisticsErrors() : string | null
string
null
getStatisticsExtendedOps() : string | null
string
null
getStatisticsReferralsReturned() : string | null
string
null
getStatisticsSecurityErrors() : string | null
string
null
getStatisticsWholeSubtreeSearchOps() : string | null
string
null
getSubschemaSubentry() : string | null
string
null
getVendorName() : string | null
string
null
getVendorVersion() : string | null
string
null
offsetExists(string $name) : boolean
Implements ArrayAccess.
Empty attributes will be treated as non-existent.
string
boolean
offsetGet(string $name) : array
Implements ArrayAccess.
This is an offline method.
string
\Zend_Ldap_Exception |
---|
array
offsetSet(string $name, mixed $value) : null
Implements ArrayAccess.
This is an offline method.
string
mixed
\BadMethodCallException |
---|
null
offsetUnset(string $name) : null
Implements ArrayAccess.
This method deletes the attribute.
This is an offline method.
string
\BadMethodCallException |
---|
null
reload(\Zend_Ldap $ldap = null
) : \Zend_Ldap_Node_Abstract
This is an online method.
\Zend_Ldap
\Zend_Ldap_Exception |
---|
\Zend_Ldap_Node_Abstract
Provides a fluent interfacesupportsExtension(string|array $oids) : boolean
string
array
oid(s) to check
boolean
supportsSaslMechanism(string|array $mechlist) : boolean
string
array
SASL mechanisms to check
boolean
supportsVersion(string|integer|array $versions) : boolean
string
integer
array
version(s) to check
boolean
toArray(boolean $includeSystemAttributes = true
) : array
boolean
array
toJson(boolean $includeSystemAttributes = true
) : string
boolean
string
toString() : string
string
__construct(\Zend_Ldap_Dn $dn, array $data, boolean $fromDataSource)
Constructor is protected to enforce the use of factory methods.
\Zend_Ldap_Dn
array
boolean
_getDn() : \Zend_Ldap_Dn
This is an offline method.
\Zend_Ldap_Dn
_loadData(array $data, boolean $fromDataSource)
array
boolean
\Zend_Ldap_Exception |
---|
$_currentData : array
$_dn : \Zend_Ldap_Dn
$_systemAttributes
array('createtimestamp', 'creatorsname', 'entrycsn', 'entrydn', 'entryuuid', 'hassubordinates', 'modifiersname', 'modifytimestamp', 'structuralobjectclass', 'subschemasubentry', 'distinguishedname', 'instancetype', 'name', 'objectcategory', 'objectguid', 'usnchanged', 'usncreated', 'whenchanged', 'whencreated')
SERVER_TYPE_ACTIVEDIRECTORY = 3
SERVER_TYPE_EDIRECTORY = 4
SERVER_TYPE_GENERIC = 1
SERVER_TYPE_OPENLDAP = 2