[PHPTAL] Array Syntax Question

Joshua Paine lists at fairsky.us
Thu Feb 15 19:09:17 CET 2007


Werner wrote:
> Please tell me what the correct syntax is to do this:
>    tal:attributes="class myarray[repeat/item/index]"

tal:attributes="class myarray/${repeat/item/index}"

I think.


-- 
Joshua Paine
Chief Tower Builder
LetterBlock Software
http://letterblock.com/



More information about the PHPTAL mailing list