f:uri.action¶
This ViewHelper creates a URI to a given action. If you need a ViewHelper for creating a link, look at f:link.action.
Properties¶
action¶
- Variable type
- String
- Description
- Here you set the action name without appending “Action”. If not given the current action will be used.
- Default value
- NULL
- Mandatory
- No
arguments¶
- Variable type
- Array
- Description
- Additional parameters for the link. They will be prefixed with the plugin name.
- Default value
- Empty array
- Mandatory
- No
controller¶
- Variable type
- String
- Description
- Here you can set a controller. If it’s not specified, the current controller will be used.
- Default value
- NULL
- Mandatory
- No
extensionName¶
- Variable type
- String
- Description
- Here you can set an extension name. If not given the current extension name will be used.
- Default value
- NULL
- Mandatory
- No
pluginName¶
- Variable type
- String
- Description
- Here you can set a plugin name. If not given the current plugin name will be used.
- Default value
- NULL
- Mandatory
- No
pageUid¶
- Variable type
- Integer
- Description
- Here you can set a page UID. If not specified the action will return to the current page.
- Default value
- NULL
- Mandatory
- No
pageType¶
- Variable type
- Integer
- Description
- Here you can set a page type.
- Default value
- 0
- Mandatory
- No
noCache¶
- Variable type
- Boolean
- Description
- Sets the
?no_cache=1
parameter - Default value
- FALSE
- Mandatory
- No
noCacheHash¶
- Variable type
- Boolean
- Description
- If set then the cHash parameter will not be added to the link.
- Default value
- FALSE
- Mandatory
- No
section¶
- Variable type
- String
- Description
- Here you can set an anchor to be linked to.
- Default value
- Empty string
- Mandatory
- No
format¶
- Variable type
- String
- Description
- Sets the format of the target page. It can be set to “xml” alternatively.
- Default value
- Empty string
- Mandatory
- No
linkAccessRestrictedPages¶
- Variable type
- Boolean
- Description
- If set the link will be set to restricted pages even if the user is not logged in.
- Default value
- FALSE
- Mandatory
- No
additionalParams¶
- Variable type
- Array
- Description
- Adds parameters to the link. The difference to
arguments
is that these parameters are not prefixed with the plugin name. - Default value
- Empty array
- Mandatory
- No
absolute¶
- Variable type
- Boolean
- Description
- If set the link will be absolute including scheme and domain.
- Default value
- FALSE
- Mandatory
- No
addQueryString¶
- Variable type
- Boolean
- Description
- If set the current parameters of the URL will be appended to the generated link.
- Default value
- FALSE
- Mandatory
- No
argumentsToBeExcludedFromQueryString¶
- Variable type
- Array
- Description
- If set and
addQueryString
activated, the listed parameters will be removed. - Default value
- Empty array
- Mandatory
- No
Example¶
{f:uri.action(action: 'show', arguments: '{foo: \'bar\'}')}