SwitchUserViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.beuser.s.switchuser>
Displays 'SwitchUser' button to change current backend user to target backend user
Table of Contents
Properties
- $escapeOutput : bool
- As this ViewHelper renders HTML, the output must not be escaped.
Methods
- initializeArguments() : mixed
- Initializes the arguments
- renderStatic() : string
- Render link with sprite icon to change current backend user to target
- getBackendUserAuthentication() : BackendUserAuthentication
Properties
$escapeOutput
As this ViewHelper renders HTML, the output must not be escaped.
protected
bool
$escapeOutput
= false
Methods
initializeArguments()
Initializes the arguments
public
initializeArguments() : mixed
renderStatic()
Render link with sprite icon to change current backend user to target
public
static renderStatic(BackendUser} $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : BackendUser}
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface
Return values
stringgetBackendUserAuthentication()
protected
static getBackendUserAuthentication() : BackendUserAuthentication