cvs: peardoc /ja/package/xml/xml-serializer/xml-unserializer options.xml

From: Date: Tue, 19 Apr 2005 20:16:26 +0000
Subject: cvs: peardoc /ja/package/xml/xml-serializer/xml-unserializer options.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5939@lists.php.net to get a copy of this message
elf Tue Apr 19 16:16:26 2005 EDT Modified files: /peardoc/ja/package/xml/xml-serializer/xml-unserializer options.xml Log: o sync with en(thanks shimooka) http://cvs.php.net/diff.php/peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml diff -u peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml:1.3 peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml:1.4 --- peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml:1.3 Sun Mar 27 00:47:27 2005 +++ peardoc/ja/package/xml/xml-serializer/xml-unserializer/options.xml Tue Apr 19 16:16:26 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: shimooka Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: shimooka Status: ready --> <refentry id="package.xml.xml-serializer.xml-unserializer.options"> <refnamediv> <refname>XML_Unserializer Options</refname> @@ -43,15 +43,15 @@ <tgroup cols="4"> <thead> <row> - <entry>Option</entry> - <entry>Possible values</entry> - <entry>Default</entry> - <entry>Description</entry> + <entry>オプション</entry> + <entry>可能な値</entry> + <entry>デフォルト</entry> + <entry>詳細</entry> </row> </thead> <tbody> <row> - <entry>complexTaype</entry> + <entry>complexType</entry> <entry>'array' または 'object'</entry> <entry>'array'</entry> <entry> @@ -60,6 +60,25 @@ </entry> </row> <row> + <entry>tagAsClass</entry> + <entry>&true; または &false;</entry> + <entry>&true;</entry> + <entry> + complexType が 'object' に設定されている場合、 + タグ名をクラス名として使用するかどうか、を定義します。 + もし、タグの名前を持つクラスがない場合、 + 'defaultClass' によって定義されたクラスが使用されます。 + </entry> + </row> + <row> + <entry>defaultClass</entry> + <entry>任意の文字列</entry> + <entry>stdClass</entry> + <entry>complexType が 'object' に設定されている場合、 + オブジェクトを生成するために使用されるクラスを定義します。 + </entry> + </row> + <row> <entry>keyAttribute</entry> <entry>任意の文字列 または 配列</entry> <entry>'_originalKey'</entry> @@ -136,6 +155,44 @@ if 文を節約することができます。 </entry> </row> + <row> + <entry>encoding</entry> + <entry>任意の有効なエンコーディング文字列</entry> + <entry>null</entry> + <entry> + オリジナル文章のエンコーディングを定義します。 + </entry> + </row> + <row> + <entry>targetEncoding</entry> + <entry>任意の有効なエンコーディング文字列</entry> + <entry>null</entry> + <entry> + 結果データのエンコーディングを定義します。 + </entry> + </row> + <row> + <entry>decodeFunction</entry> + <entry>任意の有効な PHP コールバック</entry> + <entry>null</entry> + <entry> + このオプションを使用することで、結果にストアされる前に + 文章の全ての文字データや属性に対して適用させるコールバック関数 + またはメソッドを定義する事ができます。 + これにより、XML 内のデータをデコードしたり、 + 全てのコンテンツを小文字に変換することができます。 + </entry> + </row> + <row> + <entry>returnResult</entry> + <entry>&true; または &false;</entry> + <entry>&false;</entry> + <entry> + &true; の場合、文章がアンシリアライズ可能であれば + <function>XML_Unserializer::unserialize()</function> + はただの &true; の代わりに結果を返します。 + </entry> + </row> </tbody> </tgroup> </table> @@ -148,7 +205,7 @@ を示しています。 </simpara> <example> - <title>Using the constructor</title> + <title>コンストラクタの使用法</title> <programlisting role="php"> <![CDATA[require_once "XML/Unserializer.php"; $options = array( @@ -166,7 +223,7 @@ を示しています。 </simpara> <example> - <title>Using setOption() and setOptions()</title> + <title>setOption() と setOptions() の使用法</title> <programlisting role="php"> <![CDATA[require_once "XML/Unserializer.php"; $us = new XML_Unserializer();

« previous php.pear.doc (#5939) next »