cvs: peardoc /ja/package/xml/xml-util/xml-util createtag.xml createtagfromarray.xml

From: Date: Mon, 02 Feb 2004 07:55:56 +0000
Subject: cvs: peardoc /ja/package/xml/xml-util/xml-util createtag.xml createtagfromarray.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2326@lists.php.net to get a copy of this message
elf Mon Feb 2 02:55:56 2004 EDT Added files: /peardoc/ja/package/xml/xml-util/xml-util createtag.xml createtagfromarray.xml Log: o added japanese manual. http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-util/xml-util/createtag.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-util/xml-util/createtag.xml +++ peardoc/ja/package/xml/xml-util/xml-util/createtag.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.6 --> <refentry id="package.xml.xml-util.xml-util.createtag"> <refnamediv> <refname><function>XML_Util::createTag</function></refname> <refpurpose>タグの作成をする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Util.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>XML_Util::createTag</function></funcdef> <paramdef>string <parameter>$qname</parameter></paramdef> <paramdef>array <parameter> <optional>$attributes = array()</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$content = &null;</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$namespaceUri = &null;</optional></parameter></paramdef> <paramdef>integer <parameter> <optional>$replaceEntities = XML_UTIL_REPLACE_ENTITIES</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-util.xml-util.createtag.desc"> &title.desc; <para> もし必要ならば、 &apos;xmlns&apos;を加えたネーム空間と属性を備えたタグを作成します。 </para> </refsect1> <refsect1 id="package.default.xml-util.xml-util.createtag.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $qname</parameter> - 適したタグ名です。 </para> </listitem> <listitem> <para> <parameter>array $attributes</parameter> - 属性の連想配列です。 </para> </listitem> <listitem> <para> <parameter>string $content</parameter> - タグの内容の文字列です。 </para> </listitem> <listitem> <para> <parameter>string $namespaceUri</parameter> - xmlns属性が必要な時に追加する名前空間URIです。 </para> </listitem> <listitem> <para> <parameter>integer $replaceEntities</parameter> - 内容中のXMLエンティティを交換するかどうかを指定します。 CDataセクションにそれを埋め込むべきか、 あるいはそれを手をつけないでおくべきかを指定します。 可能な値は&false;、 XML_UTIL_REPLACE_ENTITIESあるいはXML_UTIL_CDATA_SECTIONです。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-util.xml-util.createtag.return"> &title.returns; <para> <emphasis>string</emphasis> XMLタグです。 </para> </refsect1> <refsect1 id="package.xml.xml-util.xml-util.createtag.note"> &title.note; &note.shouldstatic; </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-util/xml-util/createtagfromarray.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-util/xml-util/createtagfromarray.xml +++ peardoc/ja/package/xml/xml-util/xml-util/createtagfromarray.xml <!-- $Revision: 1.1 $ --> <!-- Sync: 1.7 --> <refentry id="package.xml.xml-util.xml-util.createtagfromarray"> <refnamediv> <refname><function>XML_Util::createTagFromArray</function></refname> <refpurpose>配列からタグを作成する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Util.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>XML_Util::createTagFromArray</function></funcdef> <paramdef>array <parameter>$tag</parameter></paramdef> <paramdef>integer <parameter> <optional>$replaceEntities = XML_UTIL_REPLACE_ENTITIES</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-util.xml-util.createtagfromarray.desc"> &title.desc; <para> 配列からタグの作成をします。 これはXML_Util::createTag()に似ていますが、より柔軟です。 </para> </refsect1> <refsect1 id="package.default.xml-util.xml-util.createtagfromarray.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $tag</parameter> - タグに関する情報を含む配列です。 </para> </listitem> <listitem> <para> <parameter>integer $replaceEntities</parameter> - 内容中のXMLエンティティを交換するかどうかを指定します。 CDataセクションにそれを埋め込むべきか、 あるいはそれを手をつけないでおくべきかを指定します。 可能な値は&false;、 XML_UTIL_REPLACE_ENTITIESあるいはXML_UTIL_CDATA_SECTIONです。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-util.xml-util.createtagfromarray.return"> &title.returns; <para> <emphasis>string</emphasis> XMLタグです。 </para> </refsect1> <refsect1 id="package.xml.xml-util.xml-util.createtagfromarray.note"> &title.note; &note.shouldstatic; </refsect1> <refsect1 id="package.xml.xml-util.xml-util.createtagfromarray.example1"> <title>使用例</title> <example> <title>XML_Util::createTagFromArray()でのタグの作成</title> <programlisting role="php"> <![CDATA[require_once "XML/Util.php"; $tag = array( "namespace" => "xslt", "localPart" => "variable" "namespaceUri" => "http://www.w3.org/1999/XSL/Transform", "attributes" => array( "name" => "myVar" ), "content" => "myValue" ); $string = XML_Util::createTagFromArray($tag);]]> </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 -->

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