[SMARTY] Selective compiled template deletion
Marcus Bointon <[email protected]> Sun, 15 Oct 2006 23:11:51 +0100
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
I'm in an odd place - I need to call clear_compiled_tpl(), but I only
want to clear all compiled templates with a certain compile ID. From
the docs it looks like I either clear everything, or just a specific
template with a name AND a compile id. I need something in between -
can I do clear_compiled_tpl('', 'my_compile_id') to clear everything
with that compile ID?
My situation is that I have a web interface to an email sending
process and I'm having problems with stale compiled versions of email
templates, which have a compile ID, and I want to clear them all
without clearing the compiled templates for the web interface too.
Marcus
--
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
[email protected] | http://www.synchromedia.co.uk/
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php