Be.uri ViewHelper <f:be.uri>
¶
A ViewHelper for creating URIs to modules.
Examples¶
URI to the web_ts module on page 92:
<f:be.uri route="web_ts" parameters="{id: 92}"/>
Copied!
/typo3/module/web/ts?token=b6e9c9f&id=92
Inline notation:
{f:be.uri(route: 'web_ts', parameters: '{id: 92}')}
Copied!
/typo3/module/web/ts?token=b6e9c9f&id=92
Source code¶
Go to the source code of this ViewHelper: UriViewHelper.php (GitHub).
Arguments¶
The following arguments are available for <f:be.uri>
:
-
route
¶ -
- Type
- string
- Required
true
The name of the route
-
parameters
¶ -
- Type
- mixed
- Default
array ()
An array of parameters
-
referenceType
¶ -
- Type
- string
- Default
'absolute'
The type of reference to be generated (one of the constants)