1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.ldap.node">
<title>Object oriented access to the LDAP tree using Zend_Ldap_Node</title>
<sect2 id="zend.ldap.node.basic">
<title>Basic CRUD operations</title>
<sect3 id="zend.ldap.node.basic.retrieve">
<title>Retrieving data from the LDAP</title>
<sect4 id="zend.ldap.node.basic.retrieve.dn">
<title>Getting a node by its DN</title>
<para/>
</sect4>
<sect4 id="zend.ldap.node.basic.retrieve.search">
<title>Searching a node's subtree</title>
<para/>
</sect4>
</sect3>
<sect3 id="zend.ldap.node.basic.add">
<title>Adding a new node to the LDAP</title>
<para/>
</sect3>
<sect3 id="zend.ldap.node.basic.delete">
<title>Deleting a node from the LDAP</title>
<para/>
</sect3>
<sect3 id="zend.ldap.node.basic.update">
<title>Updating a node on the LDAP</title>
<para/>
</sect3>
</sect2>
<sect2 id="zend.ldap.node.extended">
<title>Extended operations</title>
<sect3 id="zend.ldap.node.extended.copy-and-move">
<title>Copy and move nodes in the LDAP</title>
<para/>
</sect3>
</sect2>
<sect2 id="zend.ldap.node.traversal">
<title>Tree traversal</title>
<example>
<title>Traverse LDAP tree recursively</title>
<programlisting language="php"><![CDATA[
$options = array(/* ... */);
$ldap = new Zend_Ldap($options);
$ldap->bind();
$ri = new RecursiveIteratorIterator($ldap->getBaseNode(),
RecursiveIteratorIterator::SELF_FIRST);
foreach ($ri as $rdn => $n) {
var_dump($n);
}
]]></programlisting>
</example>
</sect2>
</sect1>
|