Peter Ford wrote:
> Jochem Maas wrote:
>> Kiketom wrote:
>>> Hi all.
>>> Yesterday i have looking for the overloading members
>>>
>>> Member overloading
>>> void __set ( string name, mixed value )
>>> mixed __get ( string name )
>>>
>>> As an example i put this code:
>>>
>>> class foo
>>> {
>>>
Jochem Maas wrote:
> Kiketom wrote:
>> Hi all.
>> Yesterday i have looking for the overloading members
>>
>> Member overloading
>> void __set ( string name, mixed value )
>> mixed __get ( string name )
>>
>> As an example i put this code:
>>
>> class foo
>> {
>> private $ID;
>> private $Nam
Ok, no problem
;)
"Jochem Maas" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> 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
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 th
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
"Jochem Ma
Kiketom wrote:
> Hi all.
> Yesterday i have looking for the overloading members
>
> Member overloading
> void __set ( string name, mixed value )
> mixed __get ( string name )
>
> As an example i put this code:
>
> class foo
> {
> private $ID;
> private $Name;
> private $LastName;
wh
Ok, this is a great solution
Thanks ;)
"Robert Cummings" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
>> Hi all.
>> Yesterday i have looking for the overloading members
>>
>> Member overloading
>> void __set ( string name, m
On Mon, 2007-11-19 at 06:27 -0500, Robert Cummings wrote:
> On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
> > Hi all.
> > Yesterday i have looking for the overloading members
> >
> > Member overloading
> > void __set ( string name, mixed value )
> > mixed __get ( string name )
> >
> > As an e
On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
> Hi all.
> Yesterday i have looking for the overloading members
>
> Member overloading
> void __set ( string name, mixed value )
> mixed __get ( string name )
>
> As an example i put this code:
>
> class foo
> {
> private $ID;
> private
9 matches
Mail list logo