On 26-05-2009 at 13:22:10 Dominique Sandoz <j...@gmx.ch> wrote:

> Hi Tjerk,
>
> thank you very much! Worked like a charm :)
>
> Do you know if its possible to use repeat/box/number like
> tal:condition="php: repeat/box/number GT 3" ?

Yes. Use repeat.box.number (with php: expressions '.' means '->' and like GT 
it's another way to avoid unescaped '>' in XML).

When you use php: expressions, PHPTAL won't guess types of 
variables/expressions for you, so you have to use array/object syntax where 
appropriate.

-- 
regards, Kornel

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

Reply via email to