cvs: phpdoc /en/reference/spl/splfileinfo getsize.xml

From: Date: Fri, 14 Nov 2008 20:45:14 +0000
Subject: cvs: phpdoc /en/reference/spl/splfileinfo getsize.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2543@lists.php.net to get a copy of this message
saltybeagle Fri Nov 14 20:45:14 2008 UTC Modified files: /phpdoc/en/reference/spl/splfileinfo getsize.xml Log: Remove undocumented example, add filesize to seealso, add return type. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/splfileinfo/getsize.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/spl/splfileinfo/getsize.xml diff -u phpdoc/en/reference/spl/splfileinfo/getsize.xml:1.1 phpdoc/en/reference/spl/splfileinfo/getsize.xml:1.2 --- phpdoc/en/reference/spl/splfileinfo/getsize.xml:1.1 Fri Nov 14 18:38:21 2008 +++ phpdoc/en/reference/spl/splfileinfo/getsize.xml Fri Nov 14 20:45:14 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="splfileinfo.getsize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>SplFileInfo::getSize</methodname> + <modifier>public</modifier> <type>int</type><methodname>SplFileInfo::getSize</methodname> <void /> </methodsynopsis> <para> @@ -33,30 +33,7 @@ <refsect1 role="errors"> &reftitle.errors; <para> - If the file does not exist a RuntimeException will be thrown. - </para> - </refsect1> - - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title><function>SplFileInfo::getSize</function> example</title> - <programlisting role="php"> -<![CDATA[ -<?php -/* ... */ -?> -]]> - </programlisting> - &example.outputs.similar; - <screen> -<![CDATA[ -... -]]> - </screen> - </example> + A RuntimeException will be thrown if the file does not exist or an error occurs. </para> </refsect1> @@ -64,7 +41,7 @@ &reftitle.seealso; <para> <simplelist> - <member><methodname>Classname::Method</methodname></member> + <member><function>filesize</function></member> </simplelist> </para> </refsect1>

« previous php.doc.cvs (#2543) next »