didou Thu Jul 3 06:01:37 2003 EDT Modified files: /phpdoc/en/reference/objaggregation reference.xml Log: correcting example Index: phpdoc/en/reference/objaggregation/reference.xml diff -u phpdoc/en/reference/objaggregation/reference.xml:1.7 phpdoc/en/reference/objaggregation/reference.xml:1.8 --- phpdoc/en/reference/objaggregation/reference.xml:1.7 Fri Feb 28 18:52:17 2003 +++ phpdoc/en/reference/objaggregation/reference.xml Thu Jul 3 06:01:37 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <reference id="ref.objaggregation"> <title>Object Aggregation/Composition Functions</title> <titleabbrev>Object Aggregation</titleabbrev> @@ -75,7 +75,7 @@ var $_format; function DateTimePlus($format="Y-m-d H:i:s") { - $this->_format = $format + $this->_format = $format; } function now() { @@ -96,7 +96,7 @@ } function generateReport() { - $dateTime = $_dt->now(); + $dateTime = $this->_dt->now(); // more code ... }
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php