Zend_Ldap_NodeImplements interfaces:
Zend_Ldap_Node provides an object oriented view into a LDAP node.
Located in /Ldap/Node.php (line 41)
Zend_Ldap_Node_Abstract | --Zend_Ldap_Node
Zend_Ldap_Node
__construct
(Zend_Ldap_Dn $dn, $data, boolean $fromDataSource, [Zend_Ldap $ldap = null])
Zend_Ldap_Node
appendToDateTimeAttribute
(string $name, integer|array $value, [boolean $utc = false])
integer
countSubtree
(string|Zend_Ldap_Filter_Abstract $filter, [integer $scope = Zend_Ldap::SEARCH_SCOPE_SUB])
Zend_Ldap_Node_Collection
searchChildren
(string|Zend_Ldap_Filter_Abstract $filter, [string $sort = null])
Zend_Ldap_Node_Collection
searchSubtree
(string|Zend_Ldap_Filter_Abstract $filter, [integer $scope = Zend_Ldap::SEARCH_SCOPE_SUB], [string $sort = null])
Zend_Ldap_Node
setPasswordAttribute
(string $password, [string $hashType = Zend_Ldap_Attribute::PASSWORD_HASH_MD5], [string $attribName = 'userPassword'])
array
$_children
(line 79)
Holds an array of the current node's children.
boolean
$_delete
(line 66)
This node will be deleted
Zend_Ldap
$_ldap
(line 72)
Holds the connection to the LDAP server if in connected mode.
boolean
$_new
(line 60)
This node will be added
Zend_Ldap_Dn
$_newDn
(line 48)
Holds the node's new DN if node is renamed.
array
$_originalData
(line 54)
Holds the node's orginal attributes (as loaded).
Inherited from Zend_Ldap_Node_Abstract
Zend_Ldap_Node_Abstract::$_currentData
Zend_Ldap_Node_Abstract::$_dn
Zend_Ldap_Node_Abstract::$_systemAttributes
static create (line 237)
Factory method to create a new detached Zend_Ldap_Node for a given DN.
static fromArray (line 293)
Factory method to create a detached Zend_Ldap_Node from array data.
static fromLdap (line 264)
Factory method to create an attached Zend_Ldap_Node for a given DN.
Constructor __construct (line 99)
Constructor.
Constructor is protected to enforce the use of factory methods.
appendObjectClass (line 560)
Appends to the objectClass.
This is an offline method.
appendToAttribute (line 660)
Appends to a LDAP attribute.
This is an offline method.
appendToDateTimeAttribute (line 708)
Appends to a LDAP date/time attribute.
This is an offline method.
countChildren (line 965)
Count children of current node.
This is an online method.
countSubtree (line 952)
Count items in current subtree found by given filter.
This is an online method.
current (line 1056)
Return the current attribute.
Implements Iterator
delete (line 386)
Marks this node as to be deleted
Node will be deleted on calling update() if $delete is true.
deleteAttribute (line 757)
Deletes a LDAP attribute.
This method deletes the attribute.
This is an offline method.
detachLdap (line 188)
Detach node from LDAP connection
This is an offline method.
getChangedData (line 592)
Gets changed node data.
The array contains all changed attributes. This format can be used in Zend_Ldap::add() and Zend_Ldap::update().
This is an offline method.
getChanges (line 612)
Returns all changes made.
This is an offline method.
getChildren (line 1015)
Returns the children for the current node.
Can be used offline but returns an empty array if children have not been retrieved yet.
getCurrentDn (line 482)
Gets the current DN of the current node as a Zend_Ldap_Dn.
The method returns a clone of the node's DN to prohibit modification.
This is an offline method.
hasChildren (line 994)
Checks if current node has children.
Returns whether the current element has children.
Can be used offline but returns false if children have not been retrieved yet.
isAttached (line 206)
Checks if the current node is attached to a LDAP server.
This is an offline method.
isNew (line 351)
Tells if the node is consiedered as new (not present on the server)
Please note, that this doesn't tell you if the node is present on the server. Use exits() to see if a node is already there.
key (line 1067)
Return the attribute name.
Implements Iterator
next (line 1076)
Move forward to next attribute.
Implements Iterator
offsetSet (line 862)
Sets a LDAP attribute.
Implements ArrayAccess.
This is an offline method.
offsetUnset (line 879)
Deletes a LDAP attribute.
Implements ArrayAccess.
This method deletes the attribute.
This is an offline method.
reload (line 911)
Reload node attributes from LDAP.
This is an online method.
removeDuplicatesFromAttribute (line 771)
Removes duplicate values from a LDAP attribute
removeFromAttribute (line 783)
Remove given values from a LDAP attribute
rewind (line 1085)
Rewind the Iterator to the first attribute.
Implements Iterator
searchChildren (line 980)
Gets children of current node.
This is an online method.
searchSubtree (line 932)
Search current subtree with given options.
This is an online method.
setAttribute (line 644)
Sets a LDAP attribute.
This is an offline method.
setDateTimeAttribute (line 691)
Sets a LDAP date/time attribute.
This is an offline method.
setDn (line 497)
Sets the new DN for this node
This is an offline method.
setObjectClass (line 545)
Sets the objectClass.
This is an offline method.
setPasswordAttribute (line 738)
Sets a LDAP password.
toLdif (line 572)
Returns a LDIF representation of the current node
valid (line 1097)
Check if there is a current attribute after calls to rewind() or next().
Implements Iterator
willBeDeleted (line 374)
Is this node going to be deleted once update() is called?
willBeMoved (line 397)
Is this node going to be moved once update() is called?
_assertChangeableAttribute (line 793)
_ensureRdnAttributeValues (line 324)
Ensures that teh RDN attributes are correctly set.
_getDn (line 469)
Gets the DN of the current node as a Zend_Ldap_Dn.
This is an offline method.
_loadData (line 216)
_markAsNew (line 338)
Marks this node as new.
Node will be added (instead of updated) on calling update() if $new is true.
_markAsToBeDeleted (line 363)
Marks this node as to be deleted.
Node will be deleted on calling update() if $delete is true.
_setAttribute (line 674)
Checks if the attribute can be set and sets it accordingly.
_setDateTimeAttribute (line 723)
Checks if the attribute can be set and sets it accordingly.
__set (line 830)
Sets a LDAP attribute.
This is an offline method.
__sleep (line 113)
Serialization callback
Only DN and attributes will be serialized.
__unset (line 846)
Deletes a LDAP attribute.
This method deletes the attribute.
This is an offline method.
__wakeup (line 126)
Deserialization callback
Enforces a detached node.
Inherited From Zend_Ldap_Node_Abstract
Zend_Ldap_Node_Abstract::__construct()
Zend_Ldap_Node_Abstract::attributeHasValue()
Zend_Ldap_Node_Abstract::count()
Zend_Ldap_Node_Abstract::existsAttribute()
Zend_Ldap_Node_Abstract::getAttribute()
Zend_Ldap_Node_Abstract::getAttributes()
Zend_Ldap_Node_Abstract::getData()
Zend_Ldap_Node_Abstract::getDateTimeAttribute()
Zend_Ldap_Node_Abstract::getDn()
Zend_Ldap_Node_Abstract::getDnArray()
Zend_Ldap_Node_Abstract::getDnString()
Zend_Ldap_Node_Abstract::getObjectClass()
Zend_Ldap_Node_Abstract::getRdnArray()
Zend_Ldap_Node_Abstract::getRdnString()
Zend_Ldap_Node_Abstract::offsetExists()
Zend_Ldap_Node_Abstract::offsetGet()
Zend_Ldap_Node_Abstract::offsetSet()
Zend_Ldap_Node_Abstract::offsetUnset()
Zend_Ldap_Node_Abstract::reload()
Zend_Ldap_Node_Abstract::toArray()
Zend_Ldap_Node_Abstract::toJson()
Zend_Ldap_Node_Abstract::toString()
Zend_Ldap_Node_Abstract::_getDn()
Zend_Ldap_Node_Abstract::_loadData()
Zend_Ldap_Node_Abstract::__get()
Zend_Ldap_Node_Abstract::__isset()
Zend_Ldap_Node_Abstract::__set()
Zend_Ldap_Node_Abstract::__toString()
Zend_Ldap_Node_Abstract::__unset()
Documentation generated on Mon, 21 Jun 2010 15:35:38 -0400 by phpDocumentor 1.4.3