Nicholas Yim wrote:
> Hello Everyone,
>
> [code]
> class MyClass {
> private $prop;
> }
> $obj=new MyClass;
> [/code]
>
> is there anyway to read and write MyClass->prop, except serialize
>
> Best regards,
>
> Nicholas Yim
> [EMAIL PROTECTED]
> 2007-03-06
>
>
why not have a public function that returns the value of the private
variable $prop...
--
Arno Coetzee
Flash Media Group
Developer
Mobile : 27 82 693 6180
Office : 27 12 430 7597
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php