UsernameViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.belog.s.username>
FinalYes
Get username from backend user id
Table of Contents
Properties
- $usernameRuntimeCache : array<string|int, mixed>
- First level cache of user names
Methods
- initializeArguments() : void
- Initializes the arguments
- renderStatic() : string
- Resolve user name from backend user id. Can return empty string if there is no user with that UID.
Properties
$usernameRuntimeCache
First level cache of user names
protected
static array<string|int, mixed>
$usernameRuntimeCache
= []
Methods
initializeArguments()
Initializes the arguments
public
initializeArguments() : void
renderStatic()
Resolve user name from backend user id. Can return empty string if there is no user with that UID.
public
static renderStatic(array{uid: int} $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array{uid: int}
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface