Plugin hack available
| From: | Anders Janson | Date: | Sat, 23 Jun 2001 23:12:45 +0000 |
| Subject: | Plugin hack available | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-967@lists.php.net to get a copy of this message | ||
The TODO file mentions a plugin system, and has done so a long time now.
Maybe nobody needs it?
Well, it was kind of convenient to have, so I hacked up a class that
handles automatic registration of custom modifiers, compiler functions
etc. Just drop your implementation files in the /plugin directory
and yoú're ready to go!
Those who are interested will find it at:
http://www.qualitum.com/smarty/SmartyPlugin.class.php.txt
Have fun!
/Anders Janson