Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
widget.uri¶
A ViewHelper for creating URIs to Extbase actions within widgets.
Examples¶
URI to the show-action of the current controller:
<f:widget.uri action="show" />
/page/path/name.html?tx_myextension_plugin[widgetIdentifier][action]=show&tx_myextension_plugin[widgetIdentifier][controller]=Standard&cHash=xyz
Depending on current page, routing and page path configuration.
Arguments¶
useCacheHash¶
- DataType
mixed
- Required
false
- Description
True whether the cache hash should be appended to the URL
addQueryStringMethod¶
- DataType
string
- Required
false
- Description
Method to be used for query string
action¶
- DataType
string
- Required
false
- Description
Target action
arguments¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
Arguments
section¶
- DataType
string
- Required
false
- Description
The anchor to be added to the URI
format¶
- DataType
string
- Required
false
- Description
The requested format, e.g. ".html
ajax¶
- DataType
mixed
- Required
false
- Description
TRUE if the URI should be to an AJAX widget, FALSE otherwise.