‪TYPO3CMS  10.4
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 32 of file WorkspaceTitleViewHelper.php.

Member Function Documentation

◆ initializeArguments()

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

Initializes the arguments

Definition at line 44 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$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string workspace title or UID
Exceptions

Definition at line 59 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 39 of file WorkspaceTitleViewHelper.php.