Afficher un message
Vieux 17/10/2006, 13h59   #4
messju mohr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] Selective compiled template deletion

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/
> marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

  Réponse avec citation
 
Page generated in 0,05536 seconds with 9 queries