If you've got a recent enough version (as is usually the case with PHP) you can do it very easily indeed by creating __get and __set methods and the calling then overload function with appropriate class name.
HTH
_________ broquaint
Comment on Re: Re: Re: Re: Re: Re: Re: php + Smarty looks like CGI