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

Claus Due claus at wildside.dk
Fri Jan 20 15:25:14 CET 2012


Hi Helmuth,

Perhaps this is what you need:

http://fedext.net/fed-viewhelpers/variables/variable/

--
Cheers,
Claus
http://fedext.net

On Jan 20, 2012, at 3:16 PM, Helmut Hummel wrote:

> 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list