‪TYPO3CMS  10.4
TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Static Protected Attributes

static array $usernameRuntimeCache = array( )
 

Detailed Description

Get username from backend user id

Definition at line 29 of file UsernameViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper::initializeArguments ( )

Initializes the arguments

Definition at line 41 of file UsernameViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static

Resolve user name from backend user id.

Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string Username or an empty string if there is no user with that UID

Definition at line 55 of file UsernameViewHelper.php.

Member Data Documentation

◆ $usernameRuntimeCache

array TYPO3\CMS\Belog\ViewHelpers\UsernameViewHelper::$usernameRuntimeCache = array( )
staticprotected

First level cache of user names

Definition at line 36 of file UsernameViewHelper.php.