svn: /phpdoc/doc-base/trunk/RFC/ coding_standards

From: Date: Tue, 20 Apr 2010 14:57:25 +0000
Subject: svn: /phpdoc/doc-base/trunk/RFC/ coding_standards
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6405@lists.php.net to get a copy of this message
danielc Tue, 20 Apr 2010 14:57:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298220 Log: Update example example to current standards. Changed paths: U phpdoc/doc-base/trunk/RFC/coding_standards Modified: phpdoc/doc-base/trunk/RFC/coding_standards =================================================================== --- phpdoc/doc-base/trunk/RFC/coding_standards 2010-04-20 14:49:17 UTC (rev 298219) +++ phpdoc/doc-base/trunk/RFC/coding_standards 2010-04-20 14:57:25 UTC (rev 298220) @@ -224,21 +224,20 @@ For longer example printouts, use the <screen> container in conjunction with <![CDATA[...]]> -<para> - <example xml:id="foo.example.output"> - <title>A <function>foo</function> example</title> - <programlisting role="php"> + <refsect1 role="examples"> + &reftitle.examples; + <example> + <title>A <function>foo</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $arr = bar(); print_r($arr); ?> ]]> - </programlisting> - <para> - The output is: - </para> - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ Array ( @@ -248,9 +247,9 @@ ... ) ]]> - </screen> - </example> -</para> + </screen> + </example> + </refsect1> COMPLETE EXAMPLE SKELETON

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