ActionViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:uri.action>
FinalYes
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<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface
Return values
stringrenderFrontendLinkWithCoreContext()
protected
static renderFrontendLinkWithCoreContext(ServerRequestInterface $request, array<string|int, mixed> $arguments, Closure $renderChildrenClosure) : string
Parameters
- $request : ServerRequestInterface
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
Return values
stringrenderWithExtbaseContext()
protected
static renderWithExtbaseContext(RequestInterface $request, array<string|int, mixed> $arguments) : string
Parameters
- $request : RequestInterface
- $arguments : array<string|int, mixed>