.. include:: ../../Includes.txt
f:alias
=======
This ViewHelper creates variables that you can use when developing Fluid views. You create variables which contain either
static values or dynamic values from objects or other ViewHelpers.
Details
-------
map
~~~
:aspect:`Variable type`
Array
:aspect:`Description`
The key is the name by which the variable is known, where the value reflects the content.
:aspect:`Default value`
:aspect:`Mandatory`
Yes
Examples for static values
--------------------------
::
Hello, my name is {firstName} {lastName}
Hello, my name is Stefan Froemken
Example for results from another ViewHelper -------------------------------------------- ::There are {amount} records in database
There are 23 records in database
Example for values from an object --------------------------------- ::Hello, my name is {firstName} {lastName}
Hello, my name is Stefan Froemken