widget.uri

A view helper for creating URIs to extbase actions within widgets.

Examples

URI to the show-action of the current controller:

<f:widget.uri action="show" />

Output:

index.php?id=123&tx_myextension_plugin[widgetIdentifier][action]=show&tx_myextension_plugin[widgetIdentifier][controller]=Standard&cHash=xyz

(depending on the current page, widget and your TS configuration)

Arguments

useCacheHash

DataType
mixed
Default
true
Required
true
Description
True whether the cache hash should be appended to the URL

addQueryStringMethod

DataType
string
Required
true
Description
Method to be used for query string

action

DataType
string
Required
true
Description
Target action

arguments

DataType
mixed
Default
array ()
Required
true
Description
Arguments

section

DataType
string
Required
true
Description
The anchor to be added to the URI

format

DataType
string
Required
true
Description
The requested format, e.g. “.html

ajax

DataType
mixed
Required
true
Description
TRUE if the URI should be to an AJAX widget, FALSE otherwise.