|
|
@@ -0,0 +1,57 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!-- Reviewed: no -->
|
|
|
+<!-- EN-Revision: 16633 -->
|
|
|
+<sect1 id="zend.ldap.node">
|
|
|
+ <title>Zend_Ldap_Nodeを使用してLDAPツリーへのオブジェクト指向アクセス</title>
|
|
|
+ <sect2 id="zend.ldap.node.basic">
|
|
|
+ <title>CRUD基本操作</title>
|
|
|
+ <sect3 id="zend.ldap.node.basic.retrieve">
|
|
|
+ <title>LDAPからデータを取得</title>
|
|
|
+ <sect4 id="zend.ldap.node.basic.retrieve.dn">
|
|
|
+ <title>DNでノードを取得</title>
|
|
|
+ <para/>
|
|
|
+ </sect4>
|
|
|
+ <sect4 id="zend.ldap.node.basic.retrieve.search">
|
|
|
+ <title>ノードのサブツリーを検索</title>
|
|
|
+ <para/>
|
|
|
+ </sect4>
|
|
|
+ </sect3>
|
|
|
+ <sect3 id="zend.ldap.node.basic.add">
|
|
|
+ <title>LDAPに新規ノードを追加</title>
|
|
|
+ <para/>
|
|
|
+ </sect3>
|
|
|
+ <sect3 id="zend.ldap.node.basic.delete">
|
|
|
+ <title>LDAPからノードを削除</title>
|
|
|
+ <para/>
|
|
|
+ </sect3>
|
|
|
+ <sect3 id="zend.ldap.node.basic.update">
|
|
|
+ <title>LDAP上のノードを更新</title>
|
|
|
+ <para/>
|
|
|
+ </sect3>
|
|
|
+ </sect2>
|
|
|
+ <sect2 id="zend.ldap.node.extended">
|
|
|
+ <title>派生的な操作</title>
|
|
|
+ <sect3 id="zend.ldap.node.extended.copy-and-move">
|
|
|
+ <title>LDAPでノードをコピーまたは移動</title>
|
|
|
+ <para/>
|
|
|
+ </sect3>
|
|
|
+ </sect2>
|
|
|
+ <sect2 id="zend.ldap.node.traversal">
|
|
|
+ <title>ツリーの走査</title>
|
|
|
+
|
|
|
+ <example>
|
|
|
+ <title>LDAPツリーを再帰的に走査</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>
|