Hello,

I have question about syntax iterable objects. Here is code:

<div id="MText" tal:condition="php: language == 'cz'" tal:repeat="item
itemsList" tal:content="item/poznamka">foo value</div>

Well, I want to format value "item/poznamka" by PHP standard function, so
when item is object I can use "php: item.getPoznamka()" but when is ItemList
is array? Code: tal="php: nl2br(item/poznamka)" is not working. Maybe is it
in manual but I cant find it. Thanks a lot.
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to