__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
bool
count() : int
Implements Countable
int
existsAttribute(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
bool
getAttribute(string $name, int $index) : mixed
This is an offline method.
string
int
\Zend\Ldap\Exception\LdapException |
---|
mixed
getAttributes(bool $includeSystemAttributes) : array
The collection contains all attributes.
This is an offline method.
bool
array
getData(bool $includeSystemAttributes) : array
The array contains all attributes in its internal format (no conversion).
This is an offline method.
bool
array
getDateTimeAttribute(string $name, int $index) : array | int
This is an offline method.
string
int
\Zend\Ldap\Exception\LdapException |
---|
array
int
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
array
getDnString(string $caseFold) : string
This is an offline method.
string
string
getObjectClass() : array
array
getRdnArray(string $caseFold) : array
This is an offline method.
string
array
getRdnString(string $caseFold) : string
This is an offline method.
string
string
offsetExists(string $name) : bool
Implements ArrayAccess.
Empty attributes will be treated as non-existent.
string
bool
offsetGet(string $name) : mixed
Implements ArrayAccess.
This is an offline method.
string
\Zend\Ldap\Exception\LdapException |
---|
mixed
offsetSet(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\AbstractNode
Provides a fluid interfacetoArray(bool $includeSystemAttributes) : array
bool
array
toJson(bool $includeSystemAttributes) : string
bool
string
toString() : 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