mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0bef28b480
commit
f33b49e5fc
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue