Re: new snapshot - default template handler

From: Date: Thu, 13 Dec 2001 14:12:44 +0000
Subject: Re: new snapshot - default template handler
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2279@lists.php.net to get a copy of this message
The example happens to be creating a template file so next time the default handler won't need to be used. Ivo Jansch wrote: > > Hoi, > > Monte Ohrt wrote: > > > question is, should the function take tpl_path as one argument, or > > resource_type and resource_name as separate arguments, already parsed > > with _parse_file_path? > > For me, already parsed would be the most convenient. > > But I don't fully understand the _write_file stuff. The handler function > writes a new template file, but where is it read? Does Smarty do that > after the call to the default handler? What if the resource wasn't a > file, is there something other that should be called? > > Greetings, > Ivo > > -- > Ivo Jansch <ivo@ibuildings.nl> > ibuildings.nl BV - information technology > http://www.ibuildings.nl > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#2279) next »