ActionViewHelper

final class \TYPO3\CMS\Fluid\ViewHelpers\Uri\ActionViewHelper

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

A ViewHelper for creating URIs to extbase actions. Tailored for extbase plugins, uses extbase Request and extbase UriBuilder.

Examples

URI to the show-action of the current controller::

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

/page/path/name.html?tx_myextension_plugin[action]=show&tx_myextension_plugin[controller]=Standard&cHash=xyz

Depending on current page, routing and page path configuration.

Table of Contents

Methods

initializeArguments()  : void
renderStatic()  : string
renderFrontendLinkWithCoreContext()  : string
renderWithExtbaseContext()  : string

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string

renderFrontendLinkWithCoreContext()

protected static renderFrontendLinkWithCoreContext(ServerRequestInterface $request, array $arguments, Closure $renderChildrenClosure) : string

Parameters

$request : ServerRequestInterface
$arguments : array
$renderChildrenClosure : Closure

Return values

string

renderWithExtbaseContext()

protected static renderWithExtbaseContext(RequestInterface $request, array $arguments) : string

Parameters

$request : RequestInterface
$arguments : array

Return values

string
On this page