Smarty: Attack of the Plugins
| From: | Andrei Zmievski | Date: | Fri, 08 Feb 2002 22:00:39 +0000 |
| Subject: | Smarty: Attack of the Plugins | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2661@lists.php.net to get a copy of this message | ||
We've been threatening to make Smarty support plugins for a while now,
and now it's actually done. Smarty has been re-architectured to use
plugins wherever possible. The following functionality is now
"plugged-in":
* modifiers
* custom functions
* compiler functions
* prefilters
* postfilters
* resources
* inserts
Smarty.addons.php is no more: it's been converted into the contents of
plugins/ directory which you will find in the latest snapshot of Smarty,
available at:
http://www.phpinsider.com/php/code/Smarty/snapshots/Smarty-snapshot-20020208.tar.gz
There is no plugin documentation at the moment, but, basically, you can
look at files in plugins/ directory and figure out how they work. Please
test this snapshot and let us know if you find any problems or omissions.
Adieu,
-Andrei
* I am a legend in my spare time. *