cvs: phpdoc /en/reference/spl_types book.xml splstring.xml /en/reference/spl_types/splfloat construct.xml /en/reference/spl_types/splint
construct.xml

From: Date: Tue, 05 May 2009 22:41:44 +0000
Subject: cvs: phpdoc /en/reference/spl_types book.xml splstring.xml /en/reference/spl_types/splfloat construct.xml /en/reference/spl_types/splint
construct.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3968@lists.php.net to get a copy of this message
davidc Tue May 5 22:41:44 2009 UTC Added files: /phpdoc/en/reference/spl_types splstring.xml Modified files: /phpdoc/en/reference/spl_types book.xml /phpdoc/en/reference/spl_types/splfloat construct.xml /phpdoc/en/reference/spl_types/splint construct.xml Log: - Fixed a little copy and paste typo in splint - Added the SplString basic documentation - Added the good constructor parameters for splint and splenum http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/book.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/spl_types/book.xml diff -u phpdoc/en/reference/spl_types/book.xml:1.6 phpdoc/en/reference/spl_types/book.xml:1.7 --- phpdoc/en/reference/spl_types/book.xml:1.6 Sat May 31 22:42:15 2008 +++ phpdoc/en/reference/spl_types/book.xml Tue May 5 22:41:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- State: new --> <book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -11,8 +11,9 @@ &reftitle.intro; <para> This extension aims at helping people making PHP a stronger typed - language. It provides different typehandling classes as such as - <type>integer</type>, <type>float</type>, <type>bool</type>, <type>enum</type>, etc. + language and can be a good alternative to scalar type hinting. + It provides different typehandling classes as such as + <type>integer</type>, <type>float</type>, <type>bool</type>, <type>enum</type> and <type>string</type> </para> &warn.experimental; </preface> @@ -22,6 +23,7 @@ &reference.spl-types.splfloat; &reference.spl-types.splenum; &reference.spl-types.splbool; + &reference.spl-types.splstring; </book> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/splfloat/construct.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/spl_types/splfloat/construct.xml diff -u phpdoc/en/reference/spl_types/splfloat/construct.xml:1.3 phpdoc/en/reference/spl_types/splfloat/construct.xml:1.4 --- phpdoc/en/reference/spl_types/splfloat/construct.xml:1.3 Sat May 31 22:42:15 2008 +++ phpdoc/en/reference/spl_types/splfloat/construct.xml Tue May 5 22:41:44 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry xml:id="splfloat.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplFloat::__construct</refname> @@ -10,7 +10,10 @@ &reftitle.description; <constructorsynopsis> <methodname>SplFloat::__construct</methodname> - <void /> + <methodparam> + <type>float</type> + <parameter>input</parameter> + </methodparam> </constructorsynopsis> <para> This constructs a new object of type float. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/splint/construct.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/spl_types/splint/construct.xml diff -u phpdoc/en/reference/spl_types/splint/construct.xml:1.5 phpdoc/en/reference/spl_types/splint/construct.xml:1.6 --- phpdoc/en/reference/spl_types/splint/construct.xml:1.5 Thu Sep 11 12:09:37 2008 +++ phpdoc/en/reference/spl_types/splint/construct.xml Tue May 5 22:41:44 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="splint.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplInt::__construct</refname> @@ -10,10 +10,13 @@ &reftitle.description; <constructorsynopsis> <methodname>SplInt::__construct</methodname> - <void /> + <methodparam> + <type>integer</type> + <parameter>input</parameter> + </methodparam> </constructorsynopsis> <para> - This constructs a new object of type float. + This constructs a new object of type integer. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl_types/splstring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/spl_types/splstring.xml +++ phpdoc/en/reference/spl_types/splstring.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <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> <partintro> <!-- {{{ splstring intro --> <section xml:id="splstring.intro"> &reftitle.intro; <para> The SplString class is used to enforce strong typing of the string type. </para> </section> <!-- }}} --> <section xml:id="splstring.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplString</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplString</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Methods</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splstring')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> </partintro> &reference.spl-types.entities.splstring; </phpdoc:classref> <!-- 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 (#3968) next »