[PHPTAL] syntax iterable objects

2008-09-09 Thread Zbyněk Nevrlý
Hello, I have question about syntax iterable objects. Here is code: foo value 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. May

Re: [PHPTAL] syntax iterable objects

2008-09-09 Thread Kornel Lesiński
On 09-09-2008 at 10:57:24 Zbyněk Nevrlý <[EMAIL PROTECTED]> wrote: Hello, I have question about syntax iterable objects. Here is code: foo value 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 Item

Re: [PHPTAL] Using tal:repeat as condition

2008-09-09 Thread Rafał Miłecki
Using dots works perfect, thanks. Maybe it would be a good idea to add such a example to manual in "7.4. php:" section? There already are many examples, so putting another one using tal:repeat makes sense for me. -- Rafał Miłecki ___ PHPTAL mailing lis