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

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Static Protected Member Functions

static getLanguageService ()
 

Static Protected Attributes

static array $workspaceTitleRuntimeCache = []
 

Detailed Description

Get workspace title from workspace id

Definition at line 32 of file WorkspaceTitleViewHelper.php.

Member Function Documentation

◆ getLanguageService()

static TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper::getLanguageService ( )
staticprotected

Definition at line 70 of file WorkspaceTitleViewHelper.php.

References $GLOBALS.

◆ initializeArguments()

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

Definition at line 40 of file WorkspaceTitleViewHelper.php.

◆ renderStatic()

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

Return resolved workspace title or empty string if it can not be resolved.

Parameters
array{uid‪int} $arguments
Exceptions

Definition at line 51 of file WorkspaceTitleViewHelper.php.

References TYPO3\CMS\Webhooks\Message\$uid, and TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded().

Member Data Documentation

◆ $workspaceTitleRuntimeCache

array TYPO3\CMS\Belog\ViewHelpers\WorkspaceTitleViewHelper::$workspaceTitleRuntimeCache = []
staticprotected

First level cache of workspace titles

Definition at line 38 of file WorkspaceTitleViewHelper.php.