Re: [PHPTAL] ?Bug - setSource doesn't reset the template

2008-11-17 Thread Kornel Lesiński
On 16-11-2008 at 08:24:11 Dave Looker [EMAIL PROTECTED] wrote: I needed to generate several templates all using the same set of data so I populated a single template and then reset the template before each execute. However using setSource() to load a template instead of setTemplate()

Re: [PHPTAL] Template lastModified time

2008-11-17 Thread Maciej Łebkowski
On Mon, Nov 17, 2008 at 11:09, Kornel Lesiński [EMAIL PROTECTED] wrote: There's no method for it, but it's easy to add it. In PHPTAL class add: [...] This will give time of main template. If you want time for all templates, you'll need to change executeMacro() or setConfigurationFrom() methods.

Re: [PHPTAL] ?Bug - setSource doesn't reset the template

2008-11-17 Thread romtek
On Mon, Nov 17, 2008 at 4:18 AM, Kornel Lesiński [EMAIL PROTECTED] wrote: On 16-11-2008 at 08:24:11 Dave Looker [EMAIL PROTECTED] wrote: I needed to generate several templates all using the same set of data so I populated a single template and then reset the template before each execute.