Re: PHP5 object construct

From: Date: Sat, 23 Sep 2006 00:31:23 +0000
Subject: Re: PHP5 object construct
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-242120@lists.php.net to get a copy of this message
Any particular place on that page I should be looking? I've read it several times and didn't see anything like the above. The closest thing I saw were actual methods called setBob() and getBob(), which isn't exactly what I'm looking for...
Check here: http://us2.php.net/manual/en/language.oop5.magic.php
So the only way I can do anything like this is by implementing the __get() and __set() methods? There is no attribute/property construct that is similar to the sample code in my OP? thnx, Chris

« previous php.general (#242120) next »