[PHPTAL] Array Syntax Question
Werner
lists at mollentze.co.za
Thu Feb 15 18:54:28 CET 2007
Hi!
Please tell me what the correct syntax is to do this:
tal:attributes="class myarray[repeat/item/index]"
I'm trying to set the class attribute to the value of the same key in
the "myarray" array as the current key of the "item" array.
Hope it makes sense, it's actually quite simple to grasp, but seemingly
hard to express in a template's code.
Kind regards,
Werner
More information about the PHPTAL
mailing list