the example should reflect what the function does, not only the changes of its behaviour ;)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148286 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2004-01-08 23:50:15 +00:00
parent 0bef28b480
commit f33b49e5fc

View file

@ -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 @@ class myclass {
// constructor
function myclass() {
return(true);
// change some properties
$this->var1 = "foo";
$this->var2 = "bar";
return true;
}
}