Re: plugin interface
| From: | Luc Saint-Elie | Date: | Wed, 10 Oct 2001 17:40:09 +0000 |
| Subject: | Re: plugin interface | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1674@lists.php.net to get a copy of this message | ||
En réponse à Monte Ohrt <monte@ispi.net>:
> 2) Flexability. People can contribute plugins that we can publish on
> the web site. Then to add that function to your Smarty, just drop the file
> into the plugin directory, and call the function in your template.
> This also makes existing functions neatly organized and easily
> added/removed.
To add an indirect agurment :
This would be a good idea because we started yesterday a tinny project to
provide some kind of standrad user management system for PEAR and it would be
probably great to be able to access some fucntionnality (ie : is_logged())
directly from the template...
Luc