Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: Re: Re: Re: php + Smarty looks like CGI

by Koschei (Monk)
on May 19, 2003 at 05:51 UTC ( #259071=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-05-31 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?