cvs: peardoc /ja/package/xml xml-beautifier.xml xml-statistics.xml /ja/package/xml/xml-beautifier example.xml intro.xml options.xml
/ja/package/xml/xml-beautifier/xml-beautifier apiversion.xml formatfile.xml formatstring.xml resetoptions.xml setoption.xml setoptions.xml
xml-beautifier.xml

From: Date: Sun, 11 Apr 2004 13:30:29 +0000
Subject: cvs: peardoc /ja/package/xml xml-beautifier.xml xml-statistics.xml /ja/package/xml/xml-beautifier example.xml intro.xml options.xml
/ja/package/xml/xml-beautifier/xml-beautifier apiversion.xml formatfile.xml formatstring.xml resetoptions.xml setoption.xml setoptions.xml
xml-beautifier.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3233@lists.php.net to get a copy of this message
elf Sun Apr 11 09:30:29 2004 EDT Added files: /peardoc/ja/package/xml xml-beautifier.xml xml-statistics.xml /peardoc/ja/package/xml/xml-beautifier example.xml intro.xml options.xml /peardoc/ja/package/xml/xml-beautifier/xml-beautifier apiversion.xml formatfile.xml formatstring.xml resetoptions.xml setoption.xml setoptions.xml xml-beautifier.xml Log: o added japanese manual.

http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier.xml <!-- $Revision --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <sect1 id="package.xml.xml-beautifier"> <title>XML_Beautifier</title> <para> XML文書を「美化する」パッケージです。 このパッケージはXML文書に改行、 字下げおよび他のレイアウト要素を加えます。 したがって、人間によって容易に読むことが出来るようになります。 </para> &package.xml.xml-beautifier.intro; &package.xml.xml-beautifier.example; &package.xml.xml-beautifier.options; &package.xml.xml-beautifier.xml-beautifier.xml-beautifier; &package.xml.xml-beautifier.xml-beautifier.setoption; &package.xml.xml-beautifier.xml-beautifier.setoptions; &package.xml.xml-beautifier.xml-beautifier.resetoptions; &package.xml.xml-beautifier.xml-beautifier.apiversion; &package.xml.xml-beautifier.xml-beautifier.formatfile; &package.xml.xml-beautifier.xml-beautifier.formatstring; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-statistics.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-statistics.xml +++ peardoc/ja/package/xml/xml-statistics.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 --> <sect1 id="package.xml.xml-statistics"> <title>XML_Statistics</title> <para> 統計的にXML文書を分析するパッケージです。 </para> &package.xml.xml-statistics.intro; &package.xml.xml-statistics.example; &package.xml.xml-statistics.xml-statistics.apiversion; &package.xml.xml-statistics.xml-statistics.analyzefile; &package.xml.xml-statistics.xml-statistics.analyzestring; &package.xml.xml-statistics.xml-statistics.counttag; &package.xml.xml-statistics.xml-statistics.counttagsindepth; &package.xml.xml-statistics.xml-statistics.countpi; &package.xml.xml-statistics.xml-statistics.countexternalentity; &package.xml.xml-statistics.xml-statistics.getmaxdepth; &package.xml.xml-statistics.xml-statistics.countattribute; &package.xml.xml-statistics.xml-statistics.countdatachunks; &package.xml.xml-statistics.xml-statistics.getcdatalength; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/example.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/example.xml +++ peardoc/ja/package/xml/xml-beautifier/example.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.example"> <refnamediv> <refname>例</refname> <refpurpose>XML_Beautifierの使用例</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.example.example1"> <title>基本例</title> <para> 実際にひどい書式のXML文書を持っていると仮定します。 </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta project="none" foo="bar"> <keywords/><description/> <author>Stephan Schmidt</author> <getMetaNav/> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo;&bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools &amp; PEAR!</introtitle> <para> If you're new to pat, and would like <!-- This is a comment in a single line that contains an &amp; --> to know what we do here, take a look at <link url= "/about/project.xml"> "About Pat"</link> or check out the <link url="/about/projectsOverview.xml">"projects overview"</link>. Otherwise, you probably know your way around the site already <smiley type="smile"/> </para> </intro> </page> </document> ]]> </programlisting> <para> 行うべきはXML_Beautifierを使用することで、 オリジナルのファイルのファイル名および 新しいファイル用のファイル名を渡すことです。 </para> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $result = $fmt->formatFile('originalFile.xml', 'beautifiedFile.xml'); if (PEAR::isError($result)) { echo $result->getMessage(); exit(); } echo "File beautified, awaiting orders!<br />"; ]]> </programlisting> <para> そうすればあなたの文書はいい感じに見えます。 </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta foo="bar" project="none"> <keywords /> <description /> <author>Stephan Schmidt</author> <getMetaNav /> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo; &bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools &amp; PEAR!</introtitle> <para> If you&apos;re new to pat, and would like <!-- This is a comment in a single line that contains an &amp; --> to know what we do here, take a look at <link url="/about/project.xml">&quot;About Pat&quot;</link> or check out the <link url="/about/projectsOverview.xml">&quot;projects overview&quot;</link> . Otherwise, you probably know your way around the site already <smiley type="smile" /> </para> </intro> </page> </document> ]]> </programlisting> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/intro.xml +++ peardoc/ja/package/xml/xml-beautifier/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.intro"> <refnamediv> <refname>導入</refname> <refpurpose>XML_Beautifierの導入</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.intro.refsect1"> <title>XML_Beautifierの導入</title> <para> XML_Beautifierは、 人間がXML文書を容易に読むことが出来るようにすることを助けるパッケージです。 </para> <para> それは改行・字下げの追加、字下げ(indent)・属性ソートとタグケース (英大・小文字)の変換をし、長いコメントも含みます。 それはタグ・文字データ・コメント・XML宣言・ 処理命令および外部の実態を認識し、 これらのトークンをうまくフォーマットすることが出来ます。 </para> <para> 文書はXML_Beautifier_Tokenizerクラスおよびexpatパーザを使用し、 これらのトークンへ分割します。 </para> <para> 現在、ひとつのレンダラだけが利用可能です。 しかし、XML_Beautifierがドライバに基づいたアーキテクチャーを使用ことで、 他のレンダラ(シンタックスを強調するような)はまもなく後続するでしょう。 </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/options.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/options.xml +++ peardoc/ja/package/xml/xml-beautifier/options.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.options"> <refnamediv> <refname>オプション</refname> <refpurpose>すべてのXML_Beautifierオプションの一覧</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.options.refsect1"> <title>オプションの導入</title> <para> Options let you influence the beautifiying process. They are passed to the renderer and thus, you have to check, whether the renderer you are using supports the options you want to use. </para> <para> As there currently is only one renderer (Plain) available, you should not worry about this too much. </para> <para> オプションは、<link linkend="package.xml.xml-beautifier.xml-beautifier.xml-beautifier">XML_Beautifierのコンストラクタ</link> への連想配列として渡すことが出来ます。 You may also use <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOption</function></link>, or <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOptions</function></link> to set one or more options after the instance of XML_Beautifier has been created. </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.refsect2"> <title>すべての有効なオプション</title> <para> ここに、 XML_Beautifierでサポートされたすべてのオプションの一覧があります。 </para> <para> <table> <title>XML_Beautifierオプション</title> <tgroup cols="4"> <thead> <row> <entry>オプション</entry> <entry>可能な値</entry> <entry>デフォルト</entry> <entry>説明</entry> </row> </thead> <tbody> <row> <entry>removeLineBreaks</entry> <entry>&true; or &false;</entry> <entry>&true;</entry> <entry>Sets, whether linebreaks should be stripped from cdata sections</entry> </row> <row> <entry>indent</entry> <entry>any string</entry> <entry>&quot; &quot; (4つの半角空白)</entry> <entry>The string passed to this option will be used to indent the tags in one level.</entry> </row> <row> <entry>linebreak</entry> <entry>any string</entry> <entry>&quot;\n&quot;</entry> <entry>The string passed to this option will be used for linebreaks You should use &quot;\n&quot; or &quot;\r\n&quot;.</entry> </row> <row> <entry>caseFolding</entry> <entry>&true;か&false;</entry> <entry>&false;</entry> <entry>Disable or enable case folding for tags and attributes</entry> </row> <row> <entry>caseFoldingTo</entry> <entry>&quot;uppercase&quot;か&quot;lowercase&quot;</entry> <entry>&quot;uppercase&quot;</entry> <entry>Can be used, if <parameter>caseFolding</parameter> is set to &true; to define whether tags and attributes should be converted to upper- or lowercase</entry> </row> <row> <entry>normalizeComments</entry> <entry>&false; or &true;</entry> <entry>&false;</entry> <entry>If set to true, all adjacent whitespaces in an XML comment will be converted to one space. This will convert comments with more than one line to a comment with one line.</entry> </row> <row> <entry>maxCommentLine</entry> <entry>integer</entry> <entry>-1</entry> <entry> コメント行の最大長です。 コメントがこの限度を越えれば、それは自動的にラッピングされるでしょう。 もし-1にセットされれば、行長は無制限になります。 </entry> </row> <row> <entry>multilineTags</entry> <entry>&true;か &false;</entry> <entry>&false;</entry> <entry>If set to true, a linebreak will be added inside the tags after each attribute and attributes will be indeted.</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example1"> <title>オプション例</title> <simpara> 次の例は、XML_Beautifierのためにオプションを設定する方法の手引きです。 </simpara> <example> <title>setOptions()とsetOption()の使用例</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt = new XML_Beautifier($options); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example2"> <title>Options example setting options at a later point</title> <simpara> インスタンスが既に作成されている場合、 次の例はXML_Beautifierのオプションを設定する方法手引きです。 </simpara> <example> <title>XML_Beautifierオプション</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt->setOptions($options); $fmt->setOption("indent", "\t"); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.apiversion"> <refnamediv> <refname><function>XML_Beautifier::apiVersion</function></refname> <refpurpose>APIバージョンを返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>XML_Beautifier::apiVersion</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.desc"> &title.desc; <para> XML_BeautifierのAPIバージョンを返します。 </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.return"> &title.returns; <para> <emphasis>string</emphasis> AのPIバージョンを返します。 </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.note"> &title.note; &note.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatfile"> <refnamediv> <refname><function>XML_Beautifier::formatFile</function></refname> <refpurpose>ファイルを美化する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatFile</function></funcdef> <paramdef>string <parameter> $file</parameter></paramdef> <paramdef>string <parameter> <optional>$newFile = &null;</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = &quot;Plain&quot;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.desc"> &title.desc; <para> ファイルを美化します。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatfile.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $file</parameter> - オリジナルファイルのファイル名です。 </para> </listitem> <listitem> <para> <parameter>string $newFile</parameter> - 美化したファイルのファイル名です。 もしファイルが与えられなかった場合、 このメソッドはXMLドキュメントの結果を返すでしょう。 オリジナルファイルを上書きするには <constant>XML_BEAUTIFIER_OVERWRITE</constant>を通してください。 </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使用するレンダラです。 現在は&quot;Plain&quot;XMLレンダラのみ使用出来ます。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.return"> &title.returns; <para> <emphasis>mixed</emphasis> ファイルに書き込まれるか、XML文書文字列化した場合はtrueが返ります。 </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatstring"> <refnamediv> <refname><function>XML_Beautifier::formatString</function></refname> <refpurpose>文字列を美化する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatString</function></funcdef> <paramdef>string <parameter> $string</parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = &quot;Plain&quot;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.desc"> &title.desc; <para> XML文字列を美化します。 このメソッドを使うとすぐさま美化したXMLドキュメントを生成します。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatstring.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $string</parameter> - XML文書を含む文字列です。 </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使用するレンダラです。 現在は&quot;Plain&quot;XMLレンダラのみ使用出来ます。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.return"> &title.returns; <para> <emphasis>string</emphasis> 美化されたXML文書です。 </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.reresetoptions"> <refnamediv> <refname><function>XML_Beautifier::resetOptions</function></refname> <refpurpose>オプションをデフォルトにリセットする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::resetOptions</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.desc"> &title.desc; <para> すべてのオプションをデフォルト値にリセットします。 </para> <para> より詳しい情報は<link linkend="package.xml.xml-beautifier.options">XML_Beautifierオプション</link> を参照してください。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.resetoptions.param"> &title.param; <para>このメソッドはパラメータを受付けません。</para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoption"> <refnamediv> <refname><function>XML_Beautifier::setOption</function></refname> <refpurpose>オプションを設定する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOption</function></funcdef> <paramdef>string <parameter>$option</parameter></paramdef> <paramdef>mixed <parameter>$value</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.desc"> &title.desc; <para> 美化過程のオプションを設定します。 </para> <para> より詳しい情報は<link linkend="package.xml.xml-beautifier.options">XML_Beautifierオプション</link> を参照してください。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoption.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $option</parameter> - オプションの名前です。 </para> </listitem> <listitem> <para> <parameter>mixed $value</parameter> - オプションの値です。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoptions"> <refnamediv> <refname><function>XML_Beautifier::setOptions</function></refname> <refpurpose>いくつかのオプションを設定する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOptions</function></funcdef> <paramdef>array <parameter>$options</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.desc"> &title.desc; <para> 美化過程のオプションをいくつか設定します。 </para> <para> より詳しい情報は<link linkend="package.xml.xml-beautifier.options">XML_Beautifierオプション</link> を参照してください。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoptions.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - オプション群の値を含む連想配列で、 それはコンストラクタに渡すものと似ているでしょう。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier"> <refnamediv> <refname><function>XML_Beautifier::XML_Beautifier</function></refname> <refpurpose>インスタンスを新規作成する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::XML_Beautifier</function></funcdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.desc"> &title.desc; <para> XML_Beautifierのインスタンスを新規作成します。 </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.xml-beautifier.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - オプションは美化工程への影響に使用します。 おそらくインデント文字列、 ケースフォルディングが可能かなどを設定するでしょう。 </para> <para> より詳しい情報は<link linkend="package.xml.xml-beautifier.options">XML_Beautifierオプション</link> を参照してください。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.return"> &title.returns; <para> <emphasis>object</emphasis> XML_Beautifierオブジェクトを返します。 </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.pear.doc (#3233) next »