Re: new snapshot - default template handler
| From: | Ivo Jansch | Date: | Thu, 13 Dec 2001 07:54:34 +0000 |
| Subject: | Re: new snapshot - default template handler | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2275@lists.php.net to get a copy of this message | ||
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