Re: overloading members. aghhh!!!
| From: | Jochem Maas | Date: | Mon, 19 Nov 2007 12:38:57 +0000 |
| Subject: | Re: overloading members. aghhh!!! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264776@lists.php.net to get a copy of this message | ||
Kiketom wrote:
> Then if i make this
>
> $foo = new foo();
> $foo->ID = 12;
>
> what is happening??
> if __Set and __Get only works if a member isn't exits,
>
> How come I do this?
> $foo->ID = 12;
> if the member $ID is private???
>
> I thought that this was possible because i have declared the two method set
> and get :P
>
ignore my previous reply - it seems it was completely wrong.