http://qs321.pair.com?node_id=259071


in reply to Re: Re: Re: Re: Re: php + Smarty looks like CGI
in thread php + Smarty looks like CGI

Out of interest, how painless is it to override the accessors or mutators?
  • Comment on Re: Re: Re: Re: Re: Re: php + Smarty looks like CGI

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: php + Smarty looks like CGI
by broquaint (Abbot) on May 19, 2003 at 09:29 UTC
    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