cvs: peardoc /en/authoring/package/categorie/mypackage example.xml /en/authoring/package/categorie/mypackage/myclass myfunction.xml

From: Date: Fri, 09 Apr 2004 16:50:19 +0000
Subject: cvs: peardoc /en/authoring/package/categorie/mypackage example.xml /en/authoring/package/categorie/mypackage/myclass myfunction.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3215@lists.php.net to get a copy of this message
danielc Fri Apr 9 12:50:19 2004 EDT Modified files: /peardoc/en/authoring/package/categorie/mypackage example.xml /peardoc/en/authoring/package/categorie/mypackage/myclass myfunction.xml Log: Clean up examples. http://cvs.php.net/diff.php/peardoc/en/authoring/package/categorie/mypackage/example.xml?r1=1.6&r2=1.7&ty=u Index: peardoc/en/authoring/package/categorie/mypackage/example.xml diff -u peardoc/en/authoring/package/categorie/mypackage/example.xml:1.6 peardoc/en/authoring/package/categorie/mypackage/example.xml:1.7 --- peardoc/en/authoring/package/categorie/mypackage/example.xml:1.6 Fri Apr 9 12:48:52 2004 +++ peardoc/en/authoring/package/categorie/mypackage/example.xml Fri Apr 9 12:50:18 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="packages.categorie.mypackage.example"> <refnamediv> <refname>Example</refname> @@ -12,7 +12,9 @@ <title>The first killer application</title> <programlisting role="php"> <![CDATA[ +<?php // My killer application +?> ]]> </programlisting> </example> @@ -21,7 +23,9 @@ <title>How to earn a lot of money</title> <programlisting role="php"> <![CDATA[ +<?php // a script to send 10.000 spam mails in 1 min +?> ]]> </programlisting> </example> http://cvs.php.net/diff.php/peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml?r1=1.8&r2=1.9&ty=u Index: peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml diff -u peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.8 peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.9 --- peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml:1.8 Fri Apr 9 12:48:53 2004 +++ peardoc/en/authoring/package/categorie/mypackage/myclass/myfunction.xml Fri Apr 9 12:50:18 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.categorie.mypackage.myclass.myfunction"> <refnamediv> <refname>My_Class::myFunction()</refname> @@ -119,10 +119,10 @@ <programlisting role="php"> <![CDATA[ <?php -require_once "My/Package.php" +require_once 'My/Package.php'; -$data = My_Package::myFunction( "foo", 1024) ; -echo $data ; +$data = My_Package::myFunction('foo', 1024); +echo $data; ?> ]]> </programlisting>

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