On 1 Dec 2009, at 23:46, spaze wrote:
Is there anything I'm missing or do I need to refactor my stuff to be
able to work just as one expression (e.g. Foo::canHaz()-
>bar('waldo')->gimmeQuux())?
Yes, you should refactor it. Your code should return string to output,
allowing PHPTAL to escape
Hi all,
I have a Tale looking sort of like this
$code = '$foo = new Foo(); $foo->bar(\'waldo\'); $foo->gimmeQuux();';
return $code;
While this was working like a charm in PHPTAL 1.1.x, it generates
parse error in 1.2.x, have checked the compiled templates and seems
that now everything is wrapped