‪TYPO3CMS  11.5
TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper:

Public Member Functions

 initializeArguments ()
 
string render ()
 

Protected Attributes

string $tagName = 'a'
 

Detailed Description

A ViewHelper for creating links to extbase actions.

Examples

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

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

Output::

action link

Depending on the current page and your TypoScript configuration.

Definition at line 37 of file ActionViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper::initializeArguments ( )

Arguments initialization

Definition at line 46 of file ActionViewHelper.php.

◆ render()

string TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper::render ( )
Returns
‪string Rendered link

Definition at line 76 of file ActionViewHelper.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

Member Data Documentation

◆ $tagName

string TYPO3\CMS\Fluid\ViewHelpers\Link\ActionViewHelper::$tagName = 'a'
protected

Definition at line 41 of file ActionViewHelper.php.