[TYPO3-mvc] Using assinged variables as key for an array in fluid?

Helmut Hummel helmut.hummel at typo3.org
Fri Jan 20 15:16:51 CET 2012


Hi,

is something like this possible with fluid?

Controller:

$this->view->assign('value', $value);
$this->view->assign('keyName', $keyName);


View:

arguments="{{keyName} : value, foo: bar}"


IIRC This does not work. Any workarounds?

Thanks.

Kind regards,
Helmut

-- 
Helmut Hummel
TYPO3 Security Team Leader, TYPO3 v4 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-typo3v4mvc mailing list