Re: [SMARTY] Selective compiled template deletion

messju mohr <[email protected]> Tue, 17 Oct 2006 14:59:24 +0200
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
On Tue, Oct 17, 2006 at 01:38:49PM +0100, Marcus Bointon wrote:
> On 15 Oct 2006, at 23:11, Marcus Bointon wrote:
> 
> >clear_compiled_tpl('', 'my_compile_id')

you want ->clear_compiled_tpl(null, 'my_compile_id') here, AFAIK.


> If I'm getting a template from a custom resource, of course I won't  
> have a template filename, just a resource identifier - does this  
> still work?
> 
> clear_compiled_tpl('myresource:123', 'my_compile_id')
> 
> 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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php