Re: cvs: phpdoc /en/language/oop5 magic.xml overloading.xml
| From: | Derick Rethans | Date: | Sun, 07 Aug 2005 12:13:52 +0000 |
| Subject: | Re: cvs: phpdoc /en/language/oop5 magic.xml overloading.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969369506@lists.php.net to get a copy of this message | ||
In-Reply-To: <cvsnlopess1123414430@cvsserver>
Message-ID: <Pine.LNX.4.62.0508071412590.2771@localhost>
References: <cvsnlopess1123414430@cvsserver>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new at jdi-ict.nl
X-Amavis-Alert: BAD HEADER Improper folded header field made up entirely of whitespace in message
header 'Subject':
On Sun, 7 Aug 2005, Nuno Lopes wrote:
> @@ -8,8 +8,13 @@
> __call, __get and __set methods. These methods will only be
> triggered when your object or inherited object doesn't contain the
> member or method you're trying to access.
> - All overloading methods must be defined as
> - <link linkend="language.oop5.visibility">public</link>.
> + All overloading methods must not be defined as
> + <link linkend="language.oop5.visibility">static</link>.
Uh?
> @@ -43,9 +56,9 @@
> public $n;
> private $x = array("a" => 1, "b" => 2, "c" => 3);
>
> - public function __get($nm)
> + private function __get($nm)
? They need to be public...
regards,
Derick