svn: /phpdoc/ja/trunk/reference/simplexml/simplexmlelement/ toString.xml
| From: | Yoshinari Takaoka | Date: | Tue, 14 Jan 2020 04:17:39 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/simplexml/simplexmlelement/ toString.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5384@lists.php.net to get a copy of this message | ||
mumumu Tue, 14 Jan 2020 04:17:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348900
Log:
added missing simplexmlelement api translation
Changed paths:
A phpdoc/ja/trunk/reference/simplexml/simplexmlelement/toString.xml
Added: phpdoc/ja/trunk/reference/simplexml/simplexmlelement/toString.xml
===================================================================
--- phpdoc/ja/trunk/reference/simplexml/simplexmlelement/toString.xml (rev
0)
+++ phpdoc/ja/trunk/reference/simplexml/simplexmlelement/toString.xml 2020-01-14 04:17:39 UTC (rev
348900)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: mumumu Status: ready -->
+
+<refentry xml:id="simplexmlelement.tostring" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SimpleXMLElement::__toString</refname>
+ <refpurpose>文字列で要素の内容を返す</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>string</type><methodname>SimpleXMLElement::__toString</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ この要素に直接入っているテキストの内容を返します。
+ この要素の子要素の内部にあるテキストの内容を返してはいけません。
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ 成功したときは、テキストの内容を文字列で返します。
+ 失敗したときは空文字列を返します。
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>文字列で内容を取得する</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$xml = new SimpleXMLElement('<a>1 <b>2 </b>3</a>');
+echo $xml;
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+1 3
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>SimpleXMLElement::asXML</methodname></member>
+ </simplelist>
+ </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
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/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
+-->
Property changes on: phpdoc/ja/trunk/reference/simplexml/simplexmlelement/toString.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property