__get()
__isset()
__set()
__toString()
__unset()
attributeHasValue()
count()
existsAttribute()
getAttribute()
getAttributes()
getData()
getDateTimeAttribute()
getDn()
getDnArray()
getDnString()
getObjectClass()
getRdnArray()
getRdnString()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
reload()
toArray()
toJson()
toString()
__construct()
_getDn()
loadData()
$currentData
$dn
$systemAttributes
This class provides a base implementation for LDAP nodes
__get(string $name) : mixed
This is an offline method.
string
\Zend\Ldap\Exception\LdapException |
|---|
mixed__isset(string $name) : bool
Empty attributes will be treated as non-existent.
string
bool__set(string $name, mixed $value)
This is an offline method.
string
mixed
\Zend\Ldap\Exception\BadMethodCallException |
|---|
__toString() : string
string__unset($name)
This method deletes the attribute.
This is an offline method.
\Zend\Ldap\Exception\BadMethodCallException |
|---|
attributeHasValue(string $attribName, mixed | array $value) : bool
string
mixedarray
boolcount() : int
Implements Countable
intexistsAttribute(string $name, bool $emptyExists) : bool
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
bool
boolgetAttribute(string $name, integer $index) : mixed
This is an offline method.
string
integer
\Zend\Ldap\Exception\LdapException |
|---|
mixedgetAttributes(bool $includeSystemAttributes) : array
The collection contains all attributes.
This is an offline method.
bool
arraygetData(bool $includeSystemAttributes) : array
The array contains all attributes in its internal format (no conversion).
This is an offline method.
bool
arraygetDateTimeAttribute(string $name, integer $index) : array | integer
This is an offline method.
string
integer
\Zend\Ldap\Exception\LdapException |
|---|
arrayinteger
getDn() : \Zend\Ldap\Dn
The method returns a clone of the node's DN to prohibit modification.
This is an offline method.
getDnArray(string $caseFold) : array
This is an offline method.
string
arraygetDnString(string $caseFold) : string
This is an offline method.
string
stringgetObjectClass() : array
arraygetRdnArray(string $caseFold) : array
This is an offline method.
string
arraygetRdnString(string $caseFold) : string
This is an offline method.
string
stringoffsetExists(string $name) : bool
Implements ArrayAccess.
Empty attributes will be treated as non-existent.
string
booloffsetGet(string $name) : mixed
Implements ArrayAccess.
This is an offline method.
string
\Zend\Ldap\Exception\LdapException |
|---|
mixedoffsetSet(string $name, mixed $value)
Implements ArrayAccess.
This is an offline method.
string
mixed
\Zend\Ldap\Exception\BadMethodCallException |
|
|---|---|
\Zend\Ldap\Exception\BadMethodCallException |
offsetUnset($name)
Implements ArrayAccess.
This method deletes the attribute.
This is an offline method.
\Zend\Ldap\Exception\BadMethodCallException |
|---|
reload(\Zend\Ldap\Ldap $ldap) : \Zend\Ldap\Node\AbstractNode
This is an online method.
\Zend\Ldap\Ldap
\Zend\Ldap\Node\AbstractNodeProvides a fluid interfacetoArray(bool $includeSystemAttributes) : array
bool
arraytoJson(bool $includeSystemAttributes) : string
bool
stringtoString() : string
{@see getDnString()}
string__construct(\Zend\Ldap\Dn $dn, array $data, bool $fromDataSource)
Constructor is protected to enforce the use of factory methods.
\Zend\Ldap\Dn
array
bool
loadData(array $data, bool $fromDataSource)
array
bool
$currentData : array
$systemAttributes