didou           Thu Jan  8 18:50:16 2004 EDT

  Modified files:              
    /phpdoc/en/reference/classobj/functions     get-class-vars.xml 
  Log:
  the example should reflect what the function does, not only the changes of its 
behaviour ;)
  
Index: phpdoc/en/reference/classobj/functions/get-class-vars.xml
diff -u phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.6 
phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.7
--- phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.6       Mon Dec 15 
11:47:48 2003
+++ phpdoc/en/reference/classobj/functions/get-class-vars.xml   Thu Jan  8 18:50:15 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -->
   <refentry id="function.get-class-vars">
    <refnamediv>
@@ -40,7 +40,10 @@
     
     // constructor
     function myclass() {
-        return(true);
+        // change some properties
+        $this->var1 = "foo";
+        $this->var2 = "bar";
+        return true;
     }
 
 }

Reply via email to