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.
>>
>> However using setSource() to load a template instead of setTemplate() does
>> not seem to properly reset the state of the template.  I added the two lines
>>
>>         $this->_prepared = false;
>>         $this->_functionName = null;
>>
>
> You're right. It's now fixed in SVN.


I'd like to understand the purpose of this method. Is it to initialize a
template object with a template in memory, not in file? What's the path
parameter for?

Roman
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to