Hi All,

Lars Strojny schrieb:
>> Hi Marcus!
>> 
>> Am Dienstag, den 06.05.2008, 21:45 +0200 schrieb Marcus Boerger: 
>> [...]
>>>> All fine with me. However we *would* need to specify which
>>>> function is getter, setter, isset or unset.
>> 
>> [...]
>>>> public $property { string public function __get() { return
>>>> $this->_property; } string protected function __set(string
>>>> $value) {...} }
>> 
>> That's the variant I prefer. It is pretty similar to the C# does it
>> and therefore follows the common PHP strategy of steeling
>> everything together ;)

I'd really like to use that functionality instead of my current getXXX()
setXXX().
Back to lurking.

regards,
Jens

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to