‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController:

Public Member Functions

 __construct ()
 
 initializePageRenderer (ServerRequestInterface $request)
 
 initializeLanguageService (ServerRequestInterface $request)
 
 setContentType (string $contentType)
 
 isGeneratePage ()
 
 addCacheTags (array $tags)
 
 getPageCacheTags ()
 
 preparePageContentGeneration (ServerRequestInterface $request)
 
 generatePage_postProcessing (ServerRequestInterface $request)
 
 generatePageTitle (ServerRequestInterface $request)
 
 INTincScript (ServerRequestInterface $request)
 
 INTincScript_loadJSCode ()
 
bool isINTincScript ()
 
 applyHttpHeadersToResponse (ServerRequestInterface $request, ResponseInterface $response)
 
 isStaticCacheble (ServerRequestInterface $request)
 
 newCObj (ServerRequestInterface $request)
 
 logDeprecatedTyposcript (string $typoScriptProperty, string $explanation='')
 
string uniqueHash (string $str='')
 
 set_no_cache (string $reason='')
 
 set_cache_timeout_default (int $seconds)
 
string sL (string $input)
 

Public Attributes

int $id
 
array $rootLine = []
 
array $page = []
 
int $contentPid = 0
 
PageRepository $sys_page
 
array $config = []
 
bool $pageContentWasLoadedFromCache = false
 
int $cacheExpires = 0
 
int $cacheGenerated = 0
 
string $newHash = ''
 
array $additionalHeaderData = []
 
array $additionalFooterData = []
 
string $absRefPrefix = ''
 
array $register = []
 
array $registerStack = []
 
array $recordRegister = []
 
string $currentRecord = ''
 
ContentObjectRenderer $cObj
 
string $content = ''
 
array $pageCacheTags = []
 
string $debugInformationHeader = null
 

Protected Member Functions

 setPageCacheContent (ServerRequestInterface $request, string $content, array $INTincScript, array $INTincScript_ext, array $pageTitleCache, int $expirationTstamp)
 
 setSysLastChanged (ServerRequestInterface $request)
 
string printTitle (ServerRequestInterface $request, string $pageTitle, bool $noPageTitle=false, bool $showPageTitleFirst=false, string $pageTitleSeparator='', bool $showWebsiteTitle=true)
 
 getWebsiteTitle (ServerRequestInterface $request)
 
 recursivelyReplaceIntPlaceholdersInContent (ServerRequestInterface $request)
 
 processNonCacheableContentPartsAndSubstituteContentMarkers (array $nonCacheableData, ServerRequestInterface $request)
 
 getCacheHeaders (ServerRequestInterface $request)
 
 setAbsRefPrefix ()
 
 get_cache_timeout (ServerRequestInterface $request)
 
 getAdditionalHeaders (ServerRequestInterface $request)
 
 getBackendUser ()
 
 getTimeTracker ()
 

Protected Attributes

int $cacheTimeOutDefault = 0
 
int $uniqueCounter = 0
 
string $uniqueString = ''
 
LanguageService $languageService
 
PageRenderer $pageRenderer = null
 
FrontendInterface $pageCache
 
string $contentType = 'text/html; charset=utf-8'
 
Context $context
 

Detailed Description

Main controller class of the TypoScript based frontend.

This is prepared in Frontend middlewares and the content rendering is ultimately called in \TYPO3\CMS\Frontend\Http\RequestHandler.

When calling a Frontend page, an instance of this object is available as $GLOBALS['TSFE'], even though the core development strives to get rid of this in the future.

Definition at line 57 of file TypoScriptFrontendController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::__construct ( )

Extensions should usually not need to create own instances of TSFE

Definition at line 260 of file TypoScriptFrontendController.php.

Member Function Documentation

◆ addCacheTags()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::addCacheTags ( array  $tags)

Adds tags to this page's cache entry, you can then f.e. remove cache entries by tag

Definition at line 402 of file TypoScriptFrontendController.php.

◆ applyHttpHeadersToResponse()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::applyHttpHeadersToResponse ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

◆ generatePage_postProcessing()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::generatePage_postProcessing ( ServerRequestInterface  $request)

◆ generatePageTitle()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::generatePageTitle ( ServerRequestInterface  $request)

Generate the page title, can be called multiple times, as PageTitleProvider might have been modified by an uncached plugin etc.

Definition at line 482 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\printTitle().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript(), and TYPO3\CMS\Frontend\Http\RequestHandler\processHtmlBasedRenderingSettings().

◆ get_cache_timeout()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::get_cache_timeout ( ServerRequestInterface  $request)
protected

Get the cache timeout for the current page.

Definition at line 973 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePage_postProcessing().

◆ getAdditionalHeaders()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getAdditionalHeaders ( ServerRequestInterface  $request)
protected

Send additional headers from config.additionalHeaders

Definition at line 1002 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\applyHttpHeadersToResponse().

◆ getBackendUser()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getBackendUser ( )
protected

Definition at line 1029 of file TypoScriptFrontendController.php.

References $GLOBALS.

◆ getCacheHeaders()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getCacheHeaders ( ServerRequestInterface  $request)
protected

◆ getPageCacheTags()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getPageCacheTags ( )

◆ getTimeTracker()

◆ getWebsiteTitle()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getWebsiteTitle ( ServerRequestInterface  $request)
protected

◆ initializeLanguageService()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::initializeLanguageService ( ServerRequestInterface  $request)

This is only needed for sL() to be initialized properly.

Definition at line 295 of file TypoScriptFrontendController.php.

◆ initializePageRenderer()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::initializePageRenderer ( ServerRequestInterface  $request)

◆ INTincScript()

◆ INTincScript_loadJSCode()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::INTincScript_loadJSCode ( )

Loads the JavaScript/CSS code for INTincScript, if there are non-cacheable content objects it prepares the placeholders, otherwise populates options directly.

this method should be renamed as it does not only handle JS, but all additional header data

Definition at line 693 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$additionalFooterData, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$additionalHeaderData, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isINTincScript(), and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\uniqueHash().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript(), and TYPO3\CMS\Frontend\Http\RequestHandler\processHtmlBasedRenderingSettings().

◆ isGeneratePage()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::isGeneratePage ( )

Returns TRUE if the page content should be generated.

Definition at line 314 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$pageContentWasLoadedFromCache.

◆ isINTincScript()

bool TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::isINTincScript ( )

◆ isStaticCacheble()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::isStaticCacheble ( ServerRequestInterface  $request)

Reporting status whether we can send cache control headers for proxy caching or publishing to static files

Rules are: no_cache cannot be set: If it is, the page might contain dynamic content and should never be cached. There can be no USER_INT objects on the page ("isINTincScript()") because they implicitly indicate dynamic content There can be no logged-in user because user sessions are based on a cookie and thereby does not offer client caching a chance to know if the user is logged in. Actually, there will be a reverse problem here; If a page will somehow change when a user is logged in he may not see it correctly if the non-login version sent a cache-header! So do NOT use cache headers in page sections where user logins change the page content. (unless using such as realurl to apply a prefix in case of login sections)

Definition at line 828 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isINTincScript().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getCacheHeaders().

◆ logDeprecatedTyposcript()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::logDeprecatedTyposcript ( string  $typoScriptProperty,
string  $explanation = '' 
)

Logs access to deprecated TypoScript objects and properties.

Dumps message to the TypoScript message log (admin panel) and the TYPO3 deprecation log.

Parameters
string$typoScriptProperty‪Deprecated object or property
string$explanation‪Message or additional information

Definition at line 893 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getTimeTracker().

◆ newCObj()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::newCObj ( ServerRequestInterface  $request)

Creates an instance of ContentObjectRenderer in $this->cObj This instance is used to start the rendering of the TypoScript template structure

Definition at line 840 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\preparePageContentGeneration().

◆ preparePageContentGeneration()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::preparePageContentGeneration ( ServerRequestInterface  $request)

Sets up TypoScript "config." options and set properties in $TSFE.

Definition at line 417 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\newCObj().

◆ printTitle()

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::printTitle ( ServerRequestInterface  $request,
string  $pageTitle,
bool  $noPageTitle = false,
bool  $showPageTitleFirst = false,
string  $pageTitleSeparator = '',
bool  $showWebsiteTitle = true 
)
protected

Compiles the content for the page <title> tag.

Parameters
string$pageTitle‪The input title string, typically the "title" field of a page's record.
bool$noPageTitle‪If set, the page title will not be printed
bool$showPageTitleFirst‪If set, website title and page title are swapped
string$pageTitleSeparator‪an alternative to the ": " as the separator between site title and page title
bool$showWebsiteTitle‪If set, the website title will be printed
Returns
‪string The page title on the form "[website title]: [input-title]". Not htmlspecialchar()'ed.
See also
generatePageTitle()

Definition at line 538 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getWebsiteTitle().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePageTitle().

◆ processNonCacheableContentPartsAndSubstituteContentMarkers()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::processNonCacheableContentPartsAndSubstituteContentMarkers ( array  $nonCacheableData,
ServerRequestInterface  $request 
)
protected

Processes the INTinclude-scripts and substitute in content.

Takes $this->content, and splits the content by and then puts the content back together.

Parameters
array$nonCacheableData‪$GLOBALS['TSFE']->config['INTincScript'] or part of it
See also
INTincScript()

Definition at line 637 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$content, and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getTimeTracker().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\recursivelyReplaceIntPlaceholdersInContent().

◆ recursivelyReplaceIntPlaceholdersInContent()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::recursivelyReplaceIntPlaceholdersInContent ( ServerRequestInterface  $request)
protected

Replaces INT placeholders (COA_INT and USER_INT) in $this->content In case the replacement adds additional placeholders, it loops until no new placeholders are found any more.

Definition at line 616 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\processNonCacheableContentPartsAndSubstituteContentMarkers().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript().

◆ set_cache_timeout_default()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::set_cache_timeout_default ( int  $seconds)

Sets the cache-timeout in seconds

Parameters
int$seconds‪Cache-timeout in seconds

Definition at line 962 of file TypoScriptFrontendController.php.

◆ set_no_cache()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::set_no_cache ( string  $reason = '')

Sets the cache-flag to 1. Could be called from user-included php-files in order to ensure that a page is not cached.

Parameters
string$reason‪An optional reason to be written to the log.
Todo:
‪: deprecate

Definition at line 919 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$context, $GLOBALS, and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\getTimeTracker().

◆ setAbsRefPrefix()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setAbsRefPrefix ( )
protected

◆ setContentType()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setContentType ( string  $contentType)

◆ setPageCacheContent()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setPageCacheContent ( ServerRequestInterface  $request,
string  $content,
array  $INTincScript,
array  $INTincScript_ext,
array  $pageTitleCache,
int  $expirationTstamp 
)
protected

Sets cache content; Inserts the content string into the pages cache.

Parameters
string$content‪The content to store in the HTML field of the cache table
int$expirationTstamp‪Expiration timestamp
See also
‪populatePageDataFromCache()

Definition at line 326 of file TypoScriptFrontendController.php.

References TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$content, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$contentType, $GLOBALS, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\$pageCacheTags, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePage_postProcessing().

◆ setSysLastChanged()

TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::setSysLastChanged ( ServerRequestInterface  $request)
protected

Setting the SYS_LASTCHANGED value in the pagerecord: This value will thus be set to the highest tstamp of records rendered on the page. This includes all records with no regard to hidden records, userprotection and so on.

The important part is that this actually updates a translated "pages" record (_LOCALIZED_UID) if the Frontend is called with a translation.

See also
ContentObjectRenderer::lastChanged()
‪setRegisterValueForSysLastChanged()

Definition at line 374 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\generatePage_postProcessing().

◆ sL()

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::sL ( string  $input)

Split Label function for front-end applications.

Parameters
string$input‪Key string. Accepts the "LLL:" prefix.
Returns
‪string Label value, if any.
Todo:
‪: deprecate

Definition at line 994 of file TypoScriptFrontendController.php.

◆ uniqueHash()

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::uniqueHash ( string  $str = '')

Returns a unique md5 hash. There is no special magic in this, the only point is that you don't have to call md5(uniqid()) which is slow and by this you are sure to get a unique string each time in a little faster way.

Parameters
string$str‪Some string to include in what is hashed. Not significant at all.
Returns
‪string MD5 hash of ->uniqueString, input string and uniqueCounter

Definition at line 908 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript_loadJSCode().

Member Data Documentation

◆ $absRefPrefix

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$absRefPrefix = ''

Absolute Reference prefix

Read-only! Extensions may read but never write this property!

Definition at line 175 of file TypoScriptFrontendController.php.

◆ $additionalFooterData

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$additionalFooterData = []

Used to accumulate additional HTML-code for the footer-section of the template

Definition at line 168 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript_loadJSCode().

◆ $additionalHeaderData

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$additionalHeaderData = []

Eg. insert JS-functions in this array ($additionalHeaderData) to include them once. Use associative keys.

Keys in use:

used to accumulate additional HTML-code for the header-section, <head>...</head>. Insert either associative keys (like additionalHeaderData['myStyleSheet'], see reserved keys above) or num-keys (like additionalHeaderData[] = '...')

Definition at line 162 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\INTincScript_loadJSCode().

◆ $cacheExpires

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$cacheExpires = 0

Set to the expiry time of cached content

Used by a middleware. Will be removed.

Definition at line 135 of file TypoScriptFrontendController.php.

◆ $cacheGenerated

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$cacheGenerated = 0

Used by a middleware. Will be removed.

Definition at line 140 of file TypoScriptFrontendController.php.

◆ $cacheTimeOutDefault

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$cacheTimeOutDefault = 0
protected

Is set to the time-to-live time of cached pages. Default is 60*60*24, which is 24 hours.

Definition at line 122 of file TypoScriptFrontendController.php.

◆ $cObj

ContentObjectRenderer TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$cObj

Page content render object

Read-only! Extensions may read but never write this property!

Definition at line 220 of file TypoScriptFrontendController.php.

◆ $config

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$config = []

Definition at line 117 of file TypoScriptFrontendController.php.

◆ $content

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$content = ''

◆ $contentPid

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$contentPid = 0

This will normally point to the same value as id, but can be changed to point to another page from which content will then be displayed instead.

Read-only! Extensions may read but never write this property!

Todo:
‪: deprecate

Definition at line 90 of file TypoScriptFrontendController.php.

◆ $contentType

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$contentType = 'text/html; charset=utf-8'
protected

Content type HTTP header being sent in the request.

Todo:
‪Ticket: #63642 Should be refactored to a request/response model later

Definition at line 242 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\setContentType(), and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\setPageCacheContent().

◆ $context

Context TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$context
protected

The context for keeping the current state, mostly related to current page information, backend user / frontend user access, workspaceId

Definition at line 248 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\set_no_cache().

◆ $currentRecord

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$currentRecord = ''

This is set to the [table]:[uid] of the latest record rendered. Note that class ContentObjectRenderer has an equal value, but that is pointing to the record delivered in the $data-array of the ContentObjectRenderer instance, if the cObjects CONTENT or RECORD created that instance

Definition at line 205 of file TypoScriptFrontendController.php.

◆ $debugInformationHeader

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$debugInformationHeader = null

If debug mode is enabled, this contains the information if a page is fetched from cache, and sent as HTTP Response Header.

Used by a middleware. Will be removed.

Definition at line 255 of file TypoScriptFrontendController.php.

◆ $id

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$id

The page id (int).

Read-only! Extensions may read but never write this property!

Todo:
‪: deprecate

Definition at line 67 of file TypoScriptFrontendController.php.

◆ $languageService

LanguageService TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$languageService
protected

Definition at line 228 of file TypoScriptFrontendController.php.

◆ $newHash

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$newHash = ''

This hash is unique to the page id, involved TS templates, TS condition verdicts, and some other parameters that influence page render result. Used to get/set page cache.

Definition at line 147 of file TypoScriptFrontendController.php.

◆ $page

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$page = []

The page record.

Read-only! Extensions may read but never write this property!

Todo:
‪: deprecate

Definition at line 81 of file TypoScriptFrontendController.php.

◆ $pageCache

FrontendInterface TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$pageCache
protected

Definition at line 231 of file TypoScriptFrontendController.php.

◆ $pageCacheTags

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$pageCacheTags = []

◆ $pageContentWasLoadedFromCache

bool TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$pageContentWasLoadedFromCache = false

Set if cached content was fetched from the cache.

Used by a middleware. Will be removed.

Definition at line 129 of file TypoScriptFrontendController.php.

Referenced by TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\isGeneratePage().

◆ $pageRenderer

PageRenderer TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$pageRenderer = null
protected

Definition at line 230 of file TypoScriptFrontendController.php.

◆ $recordRegister

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$recordRegister = []

Used by RecordContentObject and ContentContentObject to ensure the a records is NOT rendered twice through it!

Definition at line 195 of file TypoScriptFrontendController.php.

◆ $register

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$register = []

Definition at line 180 of file TypoScriptFrontendController.php.

◆ $registerStack

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$registerStack = []

Stack used for storing array and retrieving register arrays. See LOAD_REGISTER and RESTORE_REGISTER.

Definition at line 187 of file TypoScriptFrontendController.php.

◆ $rootLine

array TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$rootLine = []

Definition at line 73 of file TypoScriptFrontendController.php.

◆ $sys_page

PageRepository TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$sys_page

Read-only! Extensions may read but never write this property!

Todo:
‪: deprecate

Definition at line 96 of file TypoScriptFrontendController.php.

◆ $uniqueCounter

int TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$uniqueCounter = 0
protected

Used to generate page-unique keys. Point is that uniqid() functions is very slow, so a unique key is made based on this, see function uniqueHash()

Definition at line 211 of file TypoScriptFrontendController.php.

◆ $uniqueString

string TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::$uniqueString = ''
protected

Definition at line 213 of file TypoScriptFrontendController.php.