Re: overloading members. aghhh!!!
| From: | Kiketom | Date: | Mon, 19 Nov 2007 15:01:21 +0000 |
| Subject: | Re: overloading members. aghhh!!! | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264778@lists.php.net to get a copy of this message | ||
Ok, no problem
;)
"Jochem Maas" <jochem@iamjochem.com> escribió en el mensaje
news:474183E1.3050801@iamjochem.com...
> 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.