‪TYPO3CMS  ‪main
TYPO3\CMS\Core\TypoScript\TemplateService Class Reference

Public Member Functions

bool getProcessExtensionStatics ()
 
 setProcessExtensionStatics ($processExtensionStatics)
 
 setVerbose ($verbose)
 
array matching ($cc)
 
 start ($theRootLine)
 
 runThroughTemplates ($theRootLine, $start_template_uid=0)
 
 processTemplate ($row, $idList, $pid, $templateID='', $templateParent='', $includePath='')
 
 includeStaticTypoScriptSources ($idList, $templateID, $pid, $row)
 
 generateConfig ()
 
string substituteConstantsCallBack ($matches)
 
int getRootlineLevel ($list)
 
 getRootId ()
 

Public Attributes

bool $tt_track = true
 
array $matchAlternative = array( )
 
bool $ext_regLinenumbers = false
 
bool $ext_regComments = false
 
bool $loaded = false
 
array $setup = array( )
 
array $flatSetup = array( )
 
array $config = array( )
 
array $constants = array( )
 
array $hierarchyInfo = array( )
 
array< int, $rootLine;protected array $absoluteRootLine=[];protected array $rowSum;public array|null $sections;protected array $sectionsMatch;public string[] $clearList_const=array();public array $clearList_setup=array();public array $parserErrors=array();public array $setup_constants=array();protected bool $extensionStaticsProcessed=false;protected bool $processExtensionStatics=false;protected bool $isDefaultTypoScriptAdded=false;protected bool $processIncludesHasBeenRun=false;protected AbstractRestrictionContainer $queryBuilderRestrictions;protected Context $context;protected PackageManager $packageManager;protected TypoScriptFrontendController|null $frontendController;private static bool $deprecationLogged=false;public function __construct(Context $context=null, PackageManager $packageManager=null, TypoScriptFrontendController $frontendController=null) { $this-> context = $context ?? GeneralUtility::makeInstance(Context::class)
 
$this packageManager = $packageManager ?? GeneralUtility::makeInstance(PackageManager::class)
 
$this frontendController = $frontendController
 
if($this->context->getPropertyFromAspect('visibility', 'includeHiddenContent', false)|| $GLOBALS['SIM_ACCESS_TIME'] !==$GLOBALS['ACCESS_TIME']) $this tt_track = $this->verbose = (bool)$this->context->getPropertyFromAspect('backend.user', 'isLoggedIn', false)
 

Protected Member Functions

 initializeDatabaseQueryRestrictions ()
 
string getTypoScriptSourceFileContent ($filePath, $baseName)
 
 addExtensionStatics ($idList, $templateID, $pid)
 
array prependStaticExtra ($subrow)
 
 processIncludes ()
 
string substituteConstants ($all)
 
 addDefaultTypoScript ()
 
TypoScriptFrontendController null getTypoScriptFrontendController ()
 
TimeTracker getTimeTracker ()
 
mixed getCacheEntry ($identifier)
 
 setCacheEntry ($identifier, $data, $tag)
 

Protected Attributes

bool $verbose = false
 
bool $matchAll = false
 
bool $simulationHiddenOrTime = false
 
array $templateIncludePaths = array( )
 
array $hierarchyInfoToRoot = array( )
 
int $rootId
 

Detailed Description

Template object that is responsible for generating the TypoScript template based on template records.

Deprecated:
‪This class should not be used anymore, last core usages will be removed during v12. Using methods or properties of this class will start logging deprecation messages.

Definition at line 45 of file TemplateService.php.

Member Function Documentation

◆ addDefaultTypoScript()

TYPO3\CMS\Core\TypoScript\TemplateService::addDefaultTypoScript ( )
protected

Adds the TypoScript from the global array. The class property isDefaultTypoScriptAdded ensures that the adding only happens once.

See also
‪isDefaultTypoScriptAdded

Definition at line 1080 of file TemplateService.php.

References $GLOBALS, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getSite(), and TYPO3\CMS\Core\TypoScript\TemplateService\getTypoScriptFrontendController().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig(), and TYPO3\CMS\Core\TypoScript\TemplateService\runThroughTemplates().

◆ addExtensionStatics()

TYPO3\CMS\Core\TypoScript\TemplateService::addExtensionStatics (   $idList,
  $templateID,
  $pid 
)
protected

Adds the default TypoScript files for extensions if any.

Parameters
string$idList‪A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion.
string$templateID‪The id of the current template. Same syntax as $idList ids, eg. "sys_123
int$pid‪The PID of the input template record
See also
includeStaticTypoScriptSources()

Definition at line 761 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$config, TYPO3\CMS\Core\TypoScript\TemplateService\$constants, TYPO3\CMS\Core\TypoScript\TemplateService\packageManager, TYPO3\CMS\Core\TypoScript\TemplateService\prependStaticExtra(), and TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), and TYPO3\CMS\Core\TypoScript\TemplateService\runThroughTemplates().

◆ generateConfig()

◆ getCacheEntry()

mixed TYPO3\CMS\Core\TypoScript\TemplateService::getCacheEntry (   $identifier)
protected

Returns data stored for the hash string in the cache "cache_hash" used to store the parsed TypoScript template structures.

Parameters
string$identifier‪The hash-string which was used to store the data value
Returns
‪mixed The data from the cache

Definition at line 1188 of file TemplateService.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\start().

◆ getProcessExtensionStatics()

bool TYPO3\CMS\Core\TypoScript\TemplateService::getProcessExtensionStatics ( )
Returns
‪bool

Definition at line 303 of file TemplateService.php.

◆ getRootId()

TYPO3\CMS\Core\TypoScript\TemplateService::getRootId ( )

Returns the page ID of the rootlevel

Definition at line 1059 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$rootId.

◆ getRootlineLevel()

int TYPO3\CMS\Core\TypoScript\TemplateService::getRootlineLevel (   $list)

Returns the level of the given page in the rootline - Multiple pages can be given by separating the UIDs by comma.

Parameters
string$list‪A list of UIDs for which the rootline-level should get returned
Returns
‪int The level in the rootline. If more than one page was given the lowest level will get returned.

Definition at line 1040 of file TemplateService.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\inList().

◆ getTimeTracker()

◆ getTypoScriptFrontendController()

TypoScriptFrontendController null TYPO3\CMS\Core\TypoScript\TemplateService::getTypoScriptFrontendController ( )
protected
Returns
‪TypoScriptFrontendController|null

Definition at line 1168 of file TemplateService.php.

References $GLOBALS, and TYPO3\CMS\Core\TypoScript\TemplateService\frontendController.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\addDefaultTypoScript().

◆ getTypoScriptSourceFileContent()

string TYPO3\CMS\Core\TypoScript\TemplateService::getTypoScriptSourceFileContent (   $filePath,
  $baseName 
)
protected

Retrieves the content of the first existing file by extension order. Returns the empty string if no file is found.

Parameters
string$filePath‪The location of the file.
string$baseName‪The base file name. "constants" or "setup".
Returns
‪string

Definition at line 740 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources().

◆ includeStaticTypoScriptSources()

TYPO3\CMS\Core\TypoScript\TemplateService::includeStaticTypoScriptSources (   $idList,
  $templateID,
  $pid,
  $row 
)

Includes static template files (from extensions) for the input template record row.

Parameters
string$idList‪A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion.
string$templateID‪The id of the current template. Same syntax as $idList ids, eg. "sys_123
int$pid‪The PID of the input template record
array$row‪A full TypoScript template record
See also
processTemplate()

Definition at line 666 of file TemplateService.php.

References $GLOBALS, TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extPath(), TYPO3\CMS\Core\TypoScript\TemplateService\getTypoScriptSourceFileContent(), TYPO3\CMS\Core\Utility\PathUtility\isExtensionPath(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), TYPO3\CMS\Core\TypoScript\TemplateService\prependStaticExtra(), TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate().

◆ initializeDatabaseQueryRestrictions()

TYPO3\CMS\Core\TypoScript\TemplateService::initializeDatabaseQueryRestrictions ( )
protected

Set up the query builder restrictions, optionally include hidden records

Definition at line 340 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\context.

◆ matching()

array TYPO3\CMS\Core\TypoScript\TemplateService::matching (   $cc)

Fetches data about which TypoScript-matches there are at this page. Then it performs a matchingtest.

Parameters
array$cc‪An array with three keys, "all", "rowSum" and "rootLine" - all coming from the "currentPageData" array
Returns
‪array The input array but with a new key added, "match" which contains the items from the "all" key which when passed to tslib_matchCondition returned TRUE.

Definition at line 355 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\start().

◆ prependStaticExtra()

array TYPO3\CMS\Core\TypoScript\TemplateService::prependStaticExtra (   $subrow)
protected

Appends (not prepends) additional TypoScript code to static template records/files as set in TYPO3_CONF_VARS For files the "uid" value is the extension key but with any underscores removed. Possibly with a path if its a static file selected in the template record

Parameters
array$subrow‪Static template record/file
Returns
‪array Returns the input array where the values for keys "config" and "constants" may have been modified with prepended code.
See also
addExtensionStatics()
includeStaticTypoScriptSources()

Definition at line 823 of file TemplateService.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$identifier.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), and TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources().

◆ processIncludes()

TYPO3\CMS\Core\TypoScript\TemplateService::processIncludes ( )
protected

Searching TypoScript code text (for constants and config (Setup)) for include instructions and does the inclusion of external TypoScript files if needed.

See also
‪\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser
generateConfig()

Definition at line 959 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$templateIncludePaths, and TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser\checkIncludeLines().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig(), and TYPO3\CMS\Core\TypoScript\TemplateService\runThroughTemplates().

◆ processTemplate()

TYPO3\CMS\Core\TypoScript\TemplateService::processTemplate (   $row,
  $idList,
  $pid,
  $templateID = '',
  $templateParent = '',
  $includePath = '' 
)

Checks if the template ($row) has some included templates and after including them it fills the arrays with the setup Builds up $this->rowSum

Parameters
array$row‪A full TypoScript template record (sys_template/forged "dummy" record made from static template file)
string$idList‪A list of already processed template ids including the current; The list is on the form "[prefix]_[uid]" where [prefix] is "sys" for "sys_template" records, records and "ext_" for static include files (from extensions). The list is used to check that the recursive inclusion of templates does not go into circles: Simply it is used to NOT include a template record/file which has already BEEN included somewhere in the recursion.
int$pid‪The PID of the input template record
string$templateID‪The id of the current template. Same syntax as $idList ids, eg. "sys_123 @param string $templateParent Parent template id (during recursive call); Same syntax as $idList ids, eg. "sys_123
string$includePath‪Specifies the path from which the template was included (used with static_includes)
See also
runThroughTemplates()

Definition at line 550 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\intExplode().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), TYPO3\CMS\Core\TypoScript\TemplateService\includeStaticTypoScriptSources(), and TYPO3\CMS\Core\TypoScript\TemplateService\runThroughTemplates().

◆ runThroughTemplates()

TYPO3\CMS\Core\TypoScript\TemplateService::runThroughTemplates (   $theRootLine,
  $start_template_uid = 0 
)

Traverses the rootLine from the root and out. For each page it checks if there is a template record. If there is a template record, $this->processTemplate() is called. Resets and affects internal variables like $this->constants, $this->config and $this->rowSum Also creates $this->rootLine which is a root line stopping at the root template (contrary to $this->getTypoScriptFrontendController()->rootLine which goes all the way to the root of the tree

Parameters
array$theRootLine‪The rootline of the current page (going ALL the way to tree root)
int$start_template_uid‪Set specific template record UID to select; this is only for debugging/development/analysis use in backend modules like "Web > Template". For parsing TypoScript templates in the frontend it should be 0 (zero)
See also
start()

Definition at line 469 of file TemplateService.php.

References $GLOBALS, TYPO3\CMS\Core\TypoScript\TemplateService\addDefaultTypoScript(), TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), TYPO3\CMS\Core\Database\Connection\PARAM_INT, TYPO3\CMS\Core\TypoScript\TemplateService\processIncludes(), and TYPO3\CMS\Core\TypoScript\TemplateService\processTemplate().

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\start().

◆ setCacheEntry()

TYPO3\CMS\Core\TypoScript\TemplateService::setCacheEntry (   $identifier,
  $data,
  $tag 
)
protected

Stores $data in the 'hash' cache with the hash key $identifier

Parameters
string$identifier‪32 bit hash string (eg. a md5 hash of a serialized array identifying the data being stored)
mixed$data‪The data to store
string$tag‪Is just a textual identification in order to inform about the content

Definition at line 1200 of file TemplateService.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\start().

◆ setProcessExtensionStatics()

TYPO3\CMS\Core\TypoScript\TemplateService::setProcessExtensionStatics (   $processExtensionStatics)
Parameters
bool$processExtensionStatics

Definition at line 315 of file TemplateService.php.

◆ setVerbose()

TYPO3\CMS\Core\TypoScript\TemplateService::setVerbose (   $verbose)

sets the verbose parameter

Parameters
bool$verbose

Definition at line 328 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\$verbose.

◆ start()

TYPO3\CMS\Core\TypoScript\TemplateService::start (   $theRootLine)

This is all about fetching the right TypoScript template structure. If it's not cached then it must be generated and cached! The method traverses the rootline structure from out to in, fetches the hierarchy of template records and based on this either finds the cached TypoScript template structure or parses the template and caches it for next time. Sets $this->setup to the parsed TypoScript template array

Parameters
array$theRootLine‪The rootline of the current page (going ALL the way to tree root)

Definition at line 382 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\context, TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig(), TYPO3\CMS\Core\TypoScript\TemplateService\getCacheEntry(), TYPO3\CMS\Core\TypoScript\TemplateService\getTimeTracker(), TYPO3\CMS\Core\TypoScript\TemplateService\matching(), TYPO3\CMS\Core\TypoScript\TemplateService\runThroughTemplates(), TYPO3\CMS\Core\TypoScript\TemplateService\setCacheEntry(), TYPO3\CMS\Core\TimeTracker\TimeTracker\setTSlogMessage(), and TYPO3\CMS\Core\TypoScript\TemplateService\tt_track.

◆ substituteConstants()

string TYPO3\CMS\Core\TypoScript\TemplateService::substituteConstants (   $all)
protected

Substitutes the constants from $this->flatSetup in the text string $all

Parameters
string$allTypoScript code text string
Returns
‪string The processed string with all constants found in $this->flatSetup as key/value pairs substituted.
See also
generateConfig()

Definition at line 998 of file TemplateService.php.

References TYPO3\CMS\Core\TypoScript\TemplateService\getTimeTracker(), TYPO3\CMS\Core\TimeTracker\TimeTracker\setTSlogMessage(), and TYPO3\CMS\Core\TypoScript\TemplateService\tt_track.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig().

◆ substituteConstantsCallBack()

string TYPO3\CMS\Core\TypoScript\TemplateService::substituteConstantsCallBack (   $matches)

Call back method for preg_replace_callback in substituteConstants

Parameters
array$matches‪Regular expression matches
Returns
‪string Replacement

Definition at line 1022 of file TemplateService.php.

Member Data Documentation

◆ $config

array TYPO3\CMS\Core\TypoScript\TemplateService::$config = array( )

For fetching TypoScript code from template hierarchy before parsing it. Each array contains code field values from template records/files: Setup field

Definition at line 110 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\addExtensionStatics(), and TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig().

◆ $constants

array TYPO3\CMS\Core\TypoScript\TemplateService::$constants = array( )

◆ $ext_regComments

bool TYPO3\CMS\Core\TypoScript\TemplateService::$ext_regComments = false

◆ $ext_regLinenumbers

bool TYPO3\CMS\Core\TypoScript\TemplateService::$ext_regLinenumbers = false

◆ $flatSetup

array TYPO3\CMS\Core\TypoScript\TemplateService::$flatSetup = array( )

Definition at line 102 of file TemplateService.php.

◆ $hierarchyInfo

array TYPO3\CMS\Core\TypoScript\TemplateService::$hierarchyInfo = array( )

For Template Analyzer in backend

Definition at line 128 of file TemplateService.php.

◆ $hierarchyInfoToRoot

array TYPO3\CMS\Core\TypoScript\TemplateService::$hierarchyInfoToRoot = array( )
protected

For Template Analyzer in backend (setup content only)

Definition at line 134 of file TemplateService.php.

◆ $loaded

bool TYPO3\CMS\Core\TypoScript\TemplateService::$loaded = false

Set, if the TypoScript template structure is loaded and OK, see ->start()

Definition at line 94 of file TemplateService.php.

◆ $matchAll

bool TYPO3\CMS\Core\TypoScript\TemplateService::$matchAll = false
protected

If set, the match-class matches everything! Used for backend modules only. Never frontend!

Definition at line 74 of file TemplateService.php.

◆ $matchAlternative

array TYPO3\CMS\Core\TypoScript\TemplateService::$matchAlternative = array( )

This array is passed on to matchObj by generateConfig(). If it holds elements, they are used for matching instead. See comment at the match-class. Used for backend modules only. Never frontend!

Definition at line 68 of file TemplateService.php.

◆ $rootId

int TYPO3\CMS\Core\TypoScript\TemplateService::$rootId
protected

The Page UID of the root page

Definition at line 140 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\getRootId().

◆ $setup

array TYPO3\CMS\Core\TypoScript\TemplateService::$setup = array( )

Contains TypoScript setup part after parsing

Definition at line 98 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\generateConfig().

◆ $simulationHiddenOrTime

bool TYPO3\CMS\Core\TypoScript\TemplateService::$simulationHiddenOrTime = false
protected

Set if preview of some kind is enabled.

Definition at line 88 of file TemplateService.php.

◆ $templateIncludePaths

array TYPO3\CMS\Core\TypoScript\TemplateService::$templateIncludePaths = array( )
protected

Holds the include paths of the templates (empty if from database)

Definition at line 122 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\processIncludes().

◆ $tt_track

bool TYPO3\CMS\Core\TypoScript\TemplateService::$tt_track = true

If set, the global tt-timeobject is used to log the performance.

Definition at line 59 of file TemplateService.php.

◆ $verbose

bool TYPO3\CMS\Core\TypoScript\TemplateService::$verbose = false
protected

option to enable logging, time-tracking (FE-only) usually, this is only done when

  • ‪in FE a BE_USER is logged-in
  • ‪in BE when the BE_USER needs information about the template (TypoScript module)

Definition at line 53 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\setVerbose().

◆ context

array<int, $rootLine; protected array $absoluteRootLine = []; protected array $rowSum; public array|null $sections; protected array $sectionsMatch; public string[] $clearList_const = array( ); public array $clearList_setup = array( ); public array $parserErrors = array( ); public array $setup_constants = array( ); protected bool $extensionStaticsProcessed = false; protected bool $processExtensionStatics = false; protected bool $isDefaultTypoScriptAdded = false; protected bool $processIncludesHasBeenRun = false; protected AbstractRestrictionContainer $queryBuilderRestrictions; protected Context $context; protected PackageManager $packageManager; protected TypoScriptFrontendController|null $frontendController; private static bool $deprecationLogged = false; public function __construct(Context $context = null, PackageManager $packageManager = null, TypoScriptFrontendController $frontendController = null) { $this-> TYPO3\CMS\Core\TypoScript\TemplateService::context = $context ?? GeneralUtility::makeInstance(Context::class)

This is the "local" rootline of a deep page that stops at the first parent sys_template record that has "root" flag set, in natural parent-child order.

In frontend context, this is also set as TSFE TypoScriptFrontendController->config['rootLine'].

Both language and version overlays are applied to these page records: All "data" fields are set to language / version overlay values, except uid and pid, which are the default-language and live-version ids.

When page uid 5 is called in this example: [0] Project name |- [2] An organizational page, probably with is_siteroot=1 and a site config |- [3] Site root with a sys_template having "root" flag set |- [5] Here you are

This $rootLine is: [0] => [uid = 3, pid = 2, title = Site root with a sys_template having "root" flag set, ...] [1] => [uid = 5, pid = 3, title = Here you are, ...]

array<string, mixed>>

Definition at line 289 of file TemplateService.php.

Referenced by TYPO3\CMS\Core\TypoScript\TemplateService\initializeDatabaseQueryRestrictions(), and TYPO3\CMS\Core\TypoScript\TemplateService\start().

◆ frontendController

$this TYPO3\CMS\Core\TypoScript\TemplateService::frontendController = $frontendController

◆ packageManager

$this TYPO3\CMS\Core\TypoScript\TemplateService::packageManager = $packageManager ?? GeneralUtility::makeInstance(PackageManager::class)

◆ tt_track

if ( $this->context->getPropertyFromAspect( 'visibility', 'includeHiddenContent', false)||$GLOBALS[ 'SIM_ACCESS_TIME'] !==$GLOBALS[ 'ACCESS_TIME']) $this TYPO3\CMS\Core\TypoScript\TemplateService::tt_track = $this->verbose = (bool)$this->context->getPropertyFromAspect('backend.user', 'isLoggedIn', false)