Re: plugin interface
| From: | Anders Janson | Date: | Wed, 10 Oct 2001 14:45:16 +0000 |
| Subject: | Re: plugin interface | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1666@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
>
> > Just a side note here: If it exists, it must have been included already.
> > Then it wouldn't really be a true plugin :)
> > But at least this means that custom functions does not need to be
> > registered, mostly a good thing, I think.
> >
>
> Sure it could be a plugin. The first time the function is mentioned in a
> template it loads the plugin. The second time it is mentioned in the
> template it will exist because the plugin was already loaded.
>
DOH! Me thick. :)
/Anders