betz            Thu Aug 26 06:15:40 2004 EDT

  Modified files:              
    /phpdoc/en/language/oop5    abstract.xml 
  Log:
  no reserved words for method names 
  
  
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/abstract.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/language/oop5/abstract.xml
diff -u phpdoc/en/language/oop5/abstract.xml:1.6 
phpdoc/en/language/oop5/abstract.xml:1.7
--- phpdoc/en/language/oop5/abstract.xml:1.6    Fri Aug 13 08:02:15 2004
+++ phpdoc/en/language/oop5/abstract.xml        Thu Aug 26 06:15:38 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
  <sect1 id="language.oop5.abstract">
   <title>Object Abstraction</title>
 
@@ -30,7 +30,7 @@
    abstract protected function getValue();
 
    /* Common method */
-   public function print() {
+   public function printOut() {
      print $this->getValue();
    }
 
@@ -53,11 +53,11 @@
 }
 
 $class1 = new ConcreteClass1;
-$class1->print();
+$class1->printOut();
 
 $class2 = new ConcreteClass2;
-$class2->print();
-?> 
+$class2->printOut();
+?>
 ]]>
    </programlisting>
   </example>
@@ -67,7 +67,7 @@
     'abstract' should run without modifications.
    </para>
  </sect1>
- 
+
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Reply via email to