cvs: peardoc /en/chapters standards.xml

From: Date: Fri, 28 May 2004 22:24:27 +0000
Subject: cvs: peardoc /en/chapters standards.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4138@lists.php.net to get a copy of this message
danielc Fri May 28 18:24:27 2004 EDT Modified files: /peardoc/en/chapters standards.xml Log: Add example of private property to sample file. http://cvs.php.net/diff.php/peardoc/en/chapters/standards.xml?r1=1.22&r2=1.23&ty=u Index: peardoc/en/chapters/standards.xml diff -u peardoc/en/chapters/standards.xml:1.22 peardoc/en/chapters/standards.xml:1.23 --- peardoc/en/chapters/standards.xml:1.22 Thu May 13 00:14:43 2004 +++ peardoc/en/chapters/standards.xml Fri May 28 18:24:27 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <chapter id="standards"> <title>Coding Standards</title> @@ -515,7 +515,7 @@ // | Your Name <you@example.com> | // +----------------------------------------------------------------------+ // -// $Id: standards.xml,v 1.22 2004/05/13 04:14:43 danielc Exp $ +// $Id: standards.xml,v 1.23 2004/05/28 22:24:27 danielc Exp $ require_once 'PEAR.php'; @@ -567,7 +567,7 @@ * @category categoryname * @package packagename * @author Original Author <author@example.com> - * @version $Id: standards.xml,v 1.22 2004/05/13 04:14:43 danielc Exp $ + * @version $Id: standards.xml,v 1.23 2004/05/28 22:24:27 danielc Exp $ * @access public * @see NetOther, Net_Sample::Net_Sample() * @since Class available since Release 1.2.0 @@ -585,6 +585,17 @@ * @var string */ var $foo = 'unknown'; + + /** + * The status of life + * + * Note that names of private properties or methods must be + * preceeded by an underscore. + * + * @var bool + * @access private + */ + var $_good = true; // }}} // {{{ setFoo()

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