Re: Missing template handler
| From: | Andrei Zmievski | Date: | Thu, 06 Dec 2001 14:31:15 +0000 |
| Subject: | Re: Missing template handler | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2165@lists.php.net to get a copy of this message | ||
On Thu, 06 Dec 2001, Monte Ohrt wrote:
> Smarty will have a default function/modifier handler, and will be coming
> along with plugins.
>
> It will probably work something like the following:
>
> {myfunc var1=foo var2=bar}
>
> * if myfunc is built-in or registered, use that function.
> * if the function 'smarty_func_myfunc' exists, use that function
> * if plugin file 'smarty_func_myfunc.php' exists in the plugins dir,
> include it and use that one.
> * all failed, call the default function handler. (by default will
> trigger error)
My concern is that those people who want to use classes/objects for
custom functions, modifiers, etc. will be out of luck with this
approach..
-Andrei
Any sufficiently advanced Operating System
is indistinguishable from Linux.
- Jim Dennis