On Thu, 29 May 2008 20:25:51 +0100, Jason - USL <[EMAIL PROTECTED]> wrote:

For example, if my template designer creates something like
tal:repeat="option options", my php developer would see a corresponding
line in the documentation saying that the variable 'options' needs to be
set, and it needs to implement the iterable interface...

This could be useful indeed.

But you don't need to change PHPTAL itself - templates are supposed to be XML after all. You could try to implement this with XSLT or XPath + PHP.

--
regards, Kornel

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

Reply via email to