cvs: peardoc /en/chapters standards.xml

From: Date: Wed, 20 Jun 2007 05:59:48 +0000
Subject: cvs: peardoc /en/chapters standards.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-9791@lists.php.net to get a copy of this message
cweiske Wed Jun 20 05:59:48 2007 UTC Modified files: /peardoc/en/chapters standards.xml Log: Clarify class coding style as decided on the last pear group meeting http://cvs.php.net/viewvc.cgi/peardoc/en/chapters/standards.xml?r1=1.52&r2=1.53&diff_format=u Index: peardoc/en/chapters/standards.xml diff -u peardoc/en/chapters/standards.xml:1.52 peardoc/en/chapters/standards.xml:1.53 --- peardoc/en/chapters/standards.xml:1.52 Fri Apr 6 10:00:33 2007 +++ peardoc/en/chapters/standards.xml Wed Jun 20 05:59:48 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.52 $ --> +<!-- $Revision: 1.53 $ --> <chapter id="standards"> <title>Coding Standards</title> @@ -127,6 +127,25 @@ </para> </sect1> + <sect1 id="standards.classdef"> + <title>Class Definitions</title> + <para> + Class declarations have their opening brace + on a new line: + <programlisting role="php"> + <![CDATA[ +class FooBar +{ + + //... code goes here + +} + ]]> + </programlisting> + </para> + </sect1> + + <sect1 id="standards.funcdef"> <title>Function Definitions</title> <para>

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