‪TYPO3CMS  11.5
TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Static Protected Attributes

static array $workspaceTitleRuntimeCache = array( )
 

Detailed Description

Get workspace title from workspace id

Definition at line 30 of file WorkspaceTitleViewHelper.php.

Member Function Documentation

◆ initializeArguments()

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

Initializes the arguments

Definition at line 42 of file WorkspaceTitleViewHelper.php.

◆ renderStatic()

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

Resolve workspace title from UID.

Parameters
array{uid‪int} $arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string workspace title or UID
Exceptions

Definition at line 57 of file WorkspaceTitleViewHelper.php.

References TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Extbase\Utility\LocalizationUtility\translate().

Member Data Documentation

◆ $workspaceTitleRuntimeCache

array TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper::$workspaceTitleRuntimeCache = array( )
staticprotected

First level cache of workspace titles

Definition at line 37 of file WorkspaceTitleViewHelper.php.