ViewHelper Documentation
alias
Declares new variables which are aliases of other variables. Takes a "map"-Parameter which is an associative array which defines the shorthand mapping.
The variables are only declared inside the <f:alias>...</f:alias>-tag. After the closing tag, all declared variables are removed again.
= Examples =
<f:alias map="{x: 'foo'}">{x}</f:alias>
<f:alias map="{x: foo.bar.baz, y: foo.bar.baz.name}">
{x.name} or {y}
</f:alias>
Arguments
map anySimpleType, required
array that specifies which variables should be mapped to which alias