Zend\Ldap\Node\AbstractNode
This class provides a base implementation for LDAP nodes
Synopsis
class AbstractNode
implements
ArrayAccess,Countable
{
- // members
- protected array $systemAttributes;
- protected Dn $dn;
- protected array $currentData;
- // methods
- protected void __construct()
- protected void loadData()
- public AbstractNode reload()
- protected Dn _getDn()
- public Dn getDn()
- public string getDnString()
- public array getDnArray()
- public string getRdnString()
- public array getRdnArray()
- public array getObjectClass()
- public array getAttributes()
- public string toString()
- public string __toString()
- public array toArray()
- public string toJson()
- public array getData()
- public bool existsAttribute()
- public bool attributeHasValue()
- public mixed getAttribute()
- public array|int getDateTimeAttribute()
- public void __set()
- public mixed __get()
- public void __unset()
- public bool __isset()
- public void offsetSet()
- public mixed offsetGet()
- public void offsetUnset()
- public bool offsetExists()
- public int count()
Hierarchy
Extended by
- Zend\Ldap\Node
- Zend\Ldap\Node\Schema
- Zend\Ldap\Node\RootDse\ActiveDirectory
- Zend\Ldap\Node\RootDse\eDirectory
- Zend\Ldap\Node\RootDse\OpenLdap
- Zend\Ldap\Node\Schema\ActiveDirectory
- Zend\Ldap\Node\Schema\OpenLdap
- Zend\Ldap\Node\RootDse
Implements
Members
protected
- $currentData
—
array
Holds the node's current data. - $dn
—
\Zend\Ldap\Dn
Holds the node's DN. - $systemAttributes
Methods
protected
- __construct() — Constructor.
- _getDn() — Gets the DN of the current node as a Zend\Ldap\Dn.
- loadData()
public
- __get() — Gets a LDAP attribute.
- __isset() — Checks whether a given attribute exists.
- __set() — Sets a LDAP attribute.
- __toString() — Cast to string representation {@see toString()}
- __unset() — Deletes a LDAP attribute.
- attributeHasValue() — Checks if the given value(s) exist in the attribute
- count() — Returns the number of attributes in node.
- existsAttribute() — Checks whether a given attribute exists.
- getAttribute() — Gets a LDAP attribute.
- getAttributes() — Gets all attributes of node.
- getData() — Gets node attributes.
- getDateTimeAttribute() — Gets a LDAP date/time attribute.
- getDn() — Gets the DN of the current node as a Zend\Ldap\Dn.
- getDnArray() — Gets the DN of the current node as an array.
- getDnString() — Gets the DN of the current node as a string.
- getObjectClass() — Gets the objectClass of the node
- getRdnArray() — Gets the RDN of the current node as an array.
- getRdnString() — Gets the RDN of the current node as a string.
- offsetExists() — Checks whether a given attribute exists.
- offsetGet() — Gets a LDAP attribute.
- offsetSet() — Sets a LDAP attribute.
- offsetUnset() — Deletes a LDAP attribute.
- reload() — Reload node attributes from LDAP.
- toArray() — Returns an array representation of the current node
- toJson() — Returns a JSON representation of the current node
- toString() — Returns the DN of the current node. {@see getDnString()}