Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Koschei (Monk)
on May 19, 2003 at 05:51 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found