Registering & loading plugins
| From: | Michal Prinke | Date: | Thu, 02 May 2002 14:24:02 +0000 |
| Subject: | Registering & loading plugins | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3983@lists.php.net to get a copy of this message | ||
Hello,
Loading/registering plugins in the newest Smarty is quite unclear to me.
Please correct me if I am wrong?
* load_filter() includes a *.php file from plugins/ directory
AND REGISTERS the filter (= it will be used to process current template);
* register_prefilter() registers a function that is already available
in PHP's namespace;
* autoload_filters() is equal to performing a series of load_filter() calls;
* variable modifiers are always auto-loaded when needed.
...?