cvs: phpdoc /en/reference/spl_types splstring.xml /en/reference/spl_types/splstring construct.xml

From: Date: Wed, 06 May 2009 08:38:40 +0000
Subject: cvs: phpdoc /en/reference/spl_types splstring.xml /en/reference/spl_types/splstring construct.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3970@lists.php.net to get a copy of this message
davidc Wed May 6 08:38:40 2009 UTC Added files: /phpdoc/en/reference/spl_types/splstring construct.xml Modified files: /phpdoc/en/reference/spl_types splstring.xml Log: - Added the file construct.xml - Fixed the splstring file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/splstring.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/spl_types/splstring.xml diff -u phpdoc/en/reference/spl_types/splstring.xml:1.2 phpdoc/en/reference/spl_types/splstring.xml:1.3 --- phpdoc/en/reference/spl_types/splstring.xml:1.2 Wed May 6 04:17:05 2009 +++ phpdoc/en/reference/spl_types/splstring.xml Wed May 6 08:38:40 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> <title>The SplString class</title> <titleabbrev>SplString</titleabbrev> @@ -31,8 +31,8 @@ <!-- }}} --> - <classsynopsisinfo role="comment">...</classsynopsisinfo> - + <classsynopsisinfo role="comment">Methods</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splint')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/splstring/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/spl_types/splstring/construct.xml +++ phpdoc/en/reference/spl_types/splstring/construct.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <refentry xml:id="splstring.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplString::__construct</refname> <refpurpose>Constructs a string object type</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplString::__construct</methodname> <methodparam> <type>string</type> <parameter>input</parameter> </methodparam> </constructorsynopsis> <para> This constructs a new object of type string. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>input</parameter></term> <listitem> <para> The <parameter>input</parameter> parameter accepts a <type>string</type> An <classname>UnexpectedValueException</classname> Exception will be thrown if anything else is passed. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>SplString::__construct</function> example</title> <programlisting role="php"> <![CDATA[ <?php $string = new SplString("Testing"); try { $string = array(); } catch (UnexpectedValueException $uve) { echo $uve->getMessage() . PHP_EOL; } var_dump($string); echo $string; // Outputs "Testing" ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Value not a string object(SplString)#1 (1) { ["__default"]=> string(7) "Testing" } Testing ]]> </screen> </example> </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:"../../../../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.doc.cvs (#3970) next »