[ZF-10089] Zend_Log
[zend.git] / documentation / manual / ja / module_specs / Zend_Ldap-API-Ldap-Ldif-Encoder.xml
blob3f4b5a6ba631a45c13570bf0a632a11c70ad90f9
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Reviewed: no -->
3 <!-- EN-Revision: 20792 -->
4 <sect3 id="zend.ldap.api.reference.zend-ldap-ldif-encoder">
5     <title>Zend_Ldif_Encoder</title>
7     <table id="zend.ldap.api.reference.zend-ldap-ldif-encoder.table">
8         <title>Zend_Ldif_Encoder API</title>
10         <tgroup cols="2">
11             <thead>
12                 <row>
13                     <entry>メソッド</entry>
14                     <entry>説明</entry>
15                 </row>
16             </thead>
17             <tbody>
18                 <row>
19                     <entry>
20                         <emphasis><code>array decode(string $string)</code>
21                         </emphasis>
22                     </entry>
23                     <entry>
24                         文字列 <varname>$string</varname> を <acronym>LDIF</acronym> 要素の配列にデコードします。
25                     </entry>
26                 </row>
27                 <row>
28                     <entry>
29                         <emphasis><code>string encode(scalar|array|Zend_Ldap_Node
30                         $value, array $options)</code> </emphasis>
31                     </entry>
32                     <entry>
33                         <varname>$value</varname> を <acronym>LDIF</acronym> 表現にエンコードします。
34                         <varname>$options</varname> は下記のキーを含むであろう配列です:
35                         <variablelist>
36                             <varlistentry>
37                                 <term><code>'sort'</code></term>
38                                 <listitem>
39                                     <para>
40                                         <code>objectClass</code>に続く<code>dn</code>で、
41                                         そして、アルファベット順に分類された他の属性全てに続けて
42                                         与えられた属性を分類してください。
43                                         デフォルトは <constant>TRUE</constant> です。
44                                     </para>
45                                 </listitem>
46                             </varlistentry>
48                             <varlistentry>
49                                 <term><code>'version'</code></term>
50                                 <listitem>
51                                     <para>
52                                         <acronym>LDIF</acronym> 形式バージョン。
53                                         デフォルトは <code>1</code> です。
54                                     </para>
55                                 </listitem>
56                             </varlistentry>
58                             <varlistentry>
59                                 <term><code>'wrap'</code></term>
60                                 <listitem>
61                                 <para>
62                                     行の長さ。<acronym>LDIF</acronym>仕様に従って、
63                                     デフォルトは <code>78</code> です。
64                                 </para>
65                                 </listitem>
66                             </varlistentry>
67                         </variablelist>
68                     </entry>
69                 </row>
70             </tbody>
71         </tgroup>
72     </table>
73 </sect3>