Re: [SMARTY] Can I use classes with register_resource?
| From: | boots | Date: | Wed, 29 Oct 2003 00:44:16 +0000 |
| Subject: | Re: [SMARTY] Can I use classes with register_resource? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10457@lists.php.net to get a copy of this message | ||
--- Martin Braun <mbant@gmx.net> wrote:
> hi,
>
> I am trying to insert custom resource handlers into smarty; not as a
> plugin, but from within my script.
> i followed the instructions in the smarty 2.5.0 manual, and it
> worked.
>
> BUT: i would like to use class methods instead of functions.
> basically, this is what i want (but can't do):
I believe messju added this sometime after 2.5.0 and that it is
availaible in the 2.6.0 RC2 if you are feeling of the ilk to try an RC.
xo boots
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/