‪TYPO3CMS  9.5
TYPO3\CMS\Core\Page\PageRenderer Class Reference
Inheritance diagram for TYPO3\CMS\Core\Page\PageRenderer:
TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 __construct ($templateFile='')
 
 __wakeup ()
 
 setTitle ($title)
 
 setRenderXhtml ($enable)
 
 setXmlPrologAndDocType ($xmlPrologAndDocType)
 
 setCharSet ($charSet)
 
 setLanguage ($lang)
 
 setMetaCharsetTag ($metaCharsetTag)
 
 setHtmlTag ($htmlTag)
 
 setHeadTag ($headTag)
 
 setFavIcon ($favIcon)
 
 setIconMimeType ($iconMimeType)
 
 setBaseUrl ($baseUrl)
 
 setTemplateFile ($file)
 
 setBodyContent ($content)
 
 setRequireJsPath ($path)
 
array getRequireJsConfig (string $scope=null)
 
 enableMoveJsFromHeaderToFooter ()
 
 disableMoveJsFromHeaderToFooter ()
 
 enableCompressJavascript ()
 
 disableCompressJavascript ()
 
 enableCompressCss ()
 
 disableCompressCss ()
 
 enableConcatenateFiles ()
 
 disableConcatenateFiles ()
 
 enableConcatenateJavascript ()
 
 disableConcatenateJavascript ()
 
 enableConcatenateCss ()
 
 disableConcatenateCss ()
 
 enableRemoveLineBreaksFromTemplate ()
 
 disableRemoveLineBreaksFromTemplate ()
 
 enableDebugMode ()
 
string getTitle ()
 
string getCharSet ()
 
string getLanguage ()
 
bool getRenderXhtml ()
 
string getHtmlTag ()
 
string getMetaCharsetTag ()
 
string getHeadTag ()
 
string getFavIcon ()
 
string getIconMimeType ()
 
string getBaseUrl ()
 
string getTemplateFile ()
 
bool getMoveJsFromHeaderToFooter ()
 
bool getCompressJavascript ()
 
bool getCompressCss ()
 
bool getConcatenateFiles ()
 
bool getConcatenateJavascript ()
 
bool getConcatenateCss ()
 
bool getRemoveLineBreaksFromTemplate ()
 
string getBodyContent ()
 
array getInlineLanguageLabels ()
 
array getInlineLanguageLabelFiles ()
 
 addMetaTag ($meta)
 
 setMetaTag (string $type, string $name, string $content, array $subProperties=[], $replace=true)
 
array getMetaTag (string $type, string $name)
 
 removeMetaTag (string $type, string $name)
 
 addInlineComment ($comment)
 
 addHeaderData ($data)
 
 addFooterData ($data)
 
 addJsLibrary ($name, $file, $type='text/javascript', $compress=false, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $async=false, $integrity='', $defer=false, $crossorigin='')
 
 addJsFooterLibrary ($name, $file, $type='text/javascript', $compress=false, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $async=false, $integrity='', $defer=false, $crossorigin='')
 
 addJsFile ($file, $type='text/javascript', $compress=true, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $async=false, $integrity='', $defer=false, $crossorigin='')
 
 addJsFooterFile ($file, $type='text/javascript', $compress=true, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $async=false, $integrity='', $defer=false, $crossorigin='')
 
 addJsInlineCode ($name, $block, $compress=true, $forceOnTop=false)
 
 addJsFooterInlineCode ($name, $block, $compress=true, $forceOnTop=false)
 
 addCssFile ($file, $rel='stylesheet', $media='all', $title='', $compress=true, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $inline=false)
 
 addCssLibrary ($file, $rel='stylesheet', $media='all', $title='', $compress=true, $forceOnTop=false, $allWrap='', $excludeFromConcatenation=false, $splitChar='|', $inline=false)
 
 addCssInlineBlock ($name, $block, $compress=false, $forceOnTop=false)
 
 loadJquery ($version=null, $source=null, $namespace=self::JQUERY_NAMESPACE_NONE, bool $isCoreCall=false)
 
 loadRequireJs ()
 
 addRequireJsConfiguration (array $configuration)
 
 loadRequireJsModule ($mainModuleName, $callBackFunction=null)
 
 addInlineLanguageLabel ($key, $value)
 
 addInlineLanguageLabelArray (array $array, $parseWithLanguageService=null)
 
 addInlineLanguageLabelFile ($fileRef, $selectionPrefix='', $stripFromSelectionName='')
 
 addInlineSetting ($namespace, $key, $value)
 
 addInlineSettingArray ($namespace, array $array)
 
 addBodyContent ($content)
 
string render ($part=self::PART_COMPLETE)
 
string renderPageWithUncachedObjects ($substituteHash)
 
string renderJavaScriptAndCssForProcessingOfUncachedContentObjects ($cachedPageContent, $substituteHash)
 

Static Public Member Functions

static setCache (FrontendInterface $cache)
 

Public Attributes

const PART_COMPLETE = 0
 
const PART_HEADER = 1
 
const PART_FOOTER = 2
 
const JQUERY_VERSION_LATEST = '3.3.1'
 
const JQUERY_NAMESPACE_NONE = 'none'
 
const REQUIREJS_SCOPE_CONFIG = 'config'
 
const REQUIREJS_SCOPE_RESOLVE = 'resolve'
 

Protected Member Functions

 reset ()
 
array computeRequireJsConfig ($isDevelopment, array $packages)
 
string getRequireJsLoader ()
 
array filterArrayKeys (array $array, array $keys, bool $keep=true)
 
string null findRequireJsBaseModuleName (string $moduleName)
 
array renderMetaTagsFromAPI ()
 
 prepareRendering ()
 
array< string > renderJavaScriptAndCss ()
 
array getPreparedMarkerArray ($jsLibs, $jsFiles, $jsFooterFiles, $cssLibs, $cssFiles, $jsInline, $cssInline, $jsFooterInline, $jsFooterLibs, $metaTags)
 
array getPreparedMarkerArrayForPageWithUncachedObjects ($substituteHash)
 
string getTemplateForPart ($part)
 
string renderMainJavaScriptLibraries ()
 
array parseLanguageLabelsForJavaScript ()
 
 loadJavaScriptLanguageStrings ()
 
 convertCharsetRecursivelyToUtf8 (&$data, string $fromCharset)
 
 addAjaxUrlsToInlineSettings (bool $publicRoutesOnly=false)
 
string renderJqueryScriptTag ($version, $source, $namespace)
 
string renderCssLibraries ()
 
string renderCssFiles ()
 
string renderCssInline ()
 
array< string > renderAdditionalJavaScriptLibraries ()
 
array< string > renderJavaScriptFiles ()
 
array< string > renderInlineJavaScript ()
 
 includeLanguageFileForInline ($fileRef, $selectionPrefix='', $stripFromSelectionName='')
 
array readLLfile ($fileRef)
 
 doConcatenate ()
 
 doConcatenateJavaScript ()
 
 doConcatenateCss ()
 
 doCompress ()
 
 doCompressCss ()
 
 doCompressJavaScript ()
 
TYPO3 CMS Core Resource ResourceCompressor getCompressor ()
 
string processJsFile ($filename)
 
string getStreamlinedFileName ($file, $prepareForOutput=true)
 
string getAbsoluteWebPath (string $file)
 
TypoScriptFrontendController getTypoScriptFrontendController ()
 
TYPO3 CMS Core Localization LanguageService getLanguageService ()
 
 executePreRenderHook ()
 
 executeRenderPostTransformHook ()
 
 executePostRenderHook (&$jsLibs, &$jsFiles, &$jsFooterFiles, &$cssLibs, &$cssFiles, &$jsInline, &$cssInline, &$jsFooterInline, &$jsFooterLibs)
 
string createInlineCssTagFromFile (string $file, array $properties)
 

Protected Attributes

bool $compressJavascript = false
 
bool $compressCss = false
 
bool $removeLineBreaksFromTemplate = false
 
bool $concatenateFiles = false
 
bool $concatenateJavascript = false
 
bool $concatenateCss = false
 
bool $moveJsFromHeaderToFooter = false
 
TYPO3 CMS Core Localization Locales $locales
 
string $lang
 
array $languageDependencies = array( )
 
TYPO3 CMS Core Resource ResourceCompressor $compressor
 
array $jsFiles = array( )
 
array $jsFooterFiles = array( )
 
array $jsLibs = array( )
 
array $jsFooterLibs = array( )
 
array $cssFiles = array( )
 
array $cssLibs = array( )
 
string $title
 
string $charSet
 
string $favIcon
 
string $baseUrl
 
bool $renderXhtml = true
 
string $xmlPrologAndDocType = ''
 
array $metaTags = array( )
 
array $inlineComments = array( )
 
array $headerData = array( )
 
array $footerData = array( )
 
string $titleTag = '<title>|</title>'
 
string $metaCharsetTag = '<meta http-equiv="Content-Type" content="text/html; charset=|" />'
 
string $htmlTag = '<html>'
 
string $headTag = '<head>'
 
string $baseUrlTag = '<base href="|" />'
 
string $iconMimeType = ''
 
string $shortcutTag = '<link rel="shortcut icon" href="%1$s"%2$s />'
 
array $jsInline = array( )
 
array $jsFooterInline = array( )
 
array $extOnReadyCode = array( )
 
array $cssInline = array( )
 
string $bodyContent
 
string $templateFile
 
string $requireJsPath = 'EXT:core/Resources/Public/JavaScript/Contrib/'
 
string $jQueryPath = 'EXT:core/Resources/Public/JavaScript/Contrib/jquery/'
 
array $jQueryVersions = array( )
 
array $availableLocalJqueryVersions
 
array $jQueryCdnUrls
 
bool $addRequireJs = false
 
array $requireJsConfig = array( )
 
array $internalRequireJsPathModuleNames = array( )
 
array $publicRequireJsConfig = array( )
 
bool $enableJqueryDebug = false
 
array $inlineLanguageLabels = array( )
 
array $inlineLanguageLabelFiles = array( )
 
array $inlineSettings = array( )
 
array $inlineJavascriptWrap = array( )
 
array $inlineCssWrap = array( )
 
string $compressError = ''
 
string $endingSlash = ''
 
MetaTagManagerRegistry $metaTagRegistry
 

Static Protected Attributes

static FrontendInterface $cache = null
 

Private Member Functions

string createCssTag (array $properties, string $file)
 

Detailed Description

TYPO3 pageRender class This class render the HTML of a webpage, usable for BE and FE

Definition at line 34 of file PageRenderer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Page\PageRenderer::__construct (   $templateFile = '')
Parameters
string$templateFile‪Declare the used template file. Omit this parameter will use default template

Definition at line 345 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$templateFile, TYPO3\CMS\Core\Page\PageRenderer\reset(), and TYPO3\CMS\Core\Page\PageRenderer\setMetaTag().

Member Function Documentation

◆ __wakeup()

TYPO3\CMS\Core\Page\PageRenderer::__wakeup ( )

Set restored meta tag managers as singletons so that uncached plugins can use them to add or remove meta tags

Definition at line 369 of file PageRenderer.php.

◆ addAjaxUrlsToInlineSettings()

TYPO3\CMS\Core\Page\PageRenderer::addAjaxUrlsToInlineSettings ( bool  $publicRoutesOnly = false)
protected

Make URLs to all backend ajax handlers available as inline setting.

Parameters
bool$publicRoutesOnly

Definition at line 2113 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries().

◆ addBodyContent()

TYPO3\CMS\Core\Page\PageRenderer::addBodyContent (   $content)

Adds content to body content

Parameters
string$content

Definition at line 1747 of file PageRenderer.php.

◆ addCssFile()

TYPO3\CMS\Core\Page\PageRenderer::addCssFile (   $file,
  $rel = 'stylesheet',
  $media = 'all',
  $title = '',
  $compress = true,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $inline = false 
)

Adds CSS file

Parameters
string$file
string$rel
string$media
string$title
bool$compress
bool$forceOnTop
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$inline

Definition at line 1272 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$title.

Referenced by TYPO3\CMS\Backend\Form\FormResultCompiler\addCssFiles(), TYPO3\CMS\Frontend\Page\PageGenerator\addCssToPageRenderer(), and TYPO3\CMS\Frontend\Http\RequestHandler\addCssToPageRenderer().

◆ addCssInlineBlock()

TYPO3\CMS\Core\Page\PageRenderer::addCssInlineBlock (   $name,
  $block,
  $compress = false,
  $forceOnTop = false 
)

Adds CSS inline code

Parameters
string$name
string$block
bool$compress
bool$forceOnTop

Definition at line 1330 of file PageRenderer.php.

Referenced by TYPO3\CMS\Frontend\Page\PageGenerator\addCssToPageRenderer(), and TYPO3\CMS\Frontend\Http\RequestHandler\addCssToPageRenderer().

◆ addCssLibrary()

TYPO3\CMS\Core\Page\PageRenderer::addCssLibrary (   $file,
  $rel = 'stylesheet',
  $media = 'all',
  $title = '',
  $compress = true,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $inline = false 
)

Adds CSS file

Parameters
string$file
string$rel
string$media
string$title
bool$compress
bool$forceOnTop
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$inline

Definition at line 1304 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$title.

◆ addFooterData()

TYPO3\CMS\Core\Page\PageRenderer::addFooterData (   $data)

Adds footer data

Parameters
string$data‪Free header data for HTML header

Definition at line 1056 of file PageRenderer.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\renderFluidTemplateAssetsIntoPageRenderer().

◆ addHeaderData()

TYPO3\CMS\Core\Page\PageRenderer::addHeaderData (   $data)

Adds header data

Parameters
string$data‪Free header data for HTML header

Definition at line 1044 of file PageRenderer.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject\renderFluidTemplateAssetsIntoPageRenderer().

◆ addInlineComment()

TYPO3\CMS\Core\Page\PageRenderer::addInlineComment (   $comment)

Adds inline HTML comment

Parameters
string$comment

Definition at line 1032 of file PageRenderer.php.

◆ addInlineLanguageLabel()

TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabel (   $key,
  $value 
)

Adds Javascript Inline Label. This will occur in TYPO3.lang - object The label can be used in scripts with TYPO3.lang.<key>

Parameters
string$key
string$value

Definition at line 1640 of file PageRenderer.php.

◆ addInlineLanguageLabelArray()

TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelArray ( array  $array,
  $parseWithLanguageService = null 
)

Adds Javascript Inline Label Array. This will occur in TYPO3.lang - object The label can be used in scripts with TYPO3.lang.<key> Array will be merged with existing array.

Parameters
array$array
bool$parseWithLanguageService

Definition at line 1653 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\getLanguageService(), TYPO3\CMS\Core\Page\PageRenderer\getTypoScriptFrontendController(), and TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController\sL().

Referenced by TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

◆ addInlineLanguageLabelFile()

TYPO3\CMS\Core\Page\PageRenderer::addInlineLanguageLabelFile (   $fileRef,
  $selectionPrefix = '',
  $stripFromSelectionName = '' 
)

Gets labels to be used in JavaScript fetched from a locallang file.

Parameters
string$fileRef‪Input is a file-reference (see GeneralUtility::getFileAbsFileName). That file is expected to be a 'locallang.xlf' file containing a valid XML TYPO3 language structure.
string$selectionPrefix‪Prefix to select the correct labels (default: '')
string$stripFromSelectionName‪String to be removed from the label names in the output. (default: '')

Definition at line 1678 of file PageRenderer.php.

Referenced by TYPO3\CMS\Form\Controller\FormEditorController\indexAction(), TYPO3\CMS\Form\Controller\FormManagerController\indexAction(), TYPO3\CMS\Recordlist\Controller\RecordListController\init(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), and TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main().

◆ addInlineSetting()

TYPO3\CMS\Core\Page\PageRenderer::addInlineSetting (   $namespace,
  $key,
  $value 
)

Adds Javascript Inline Setting. This will occur in TYPO3.settings - object The label can be used in scripts with TYPO3.setting.<key>

Parameters
string$namespace
string$key
mixed$value

Definition at line 1698 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$inlineSettings.

Referenced by TYPO3\CMS\Beuser\Hook\BackendControllerHook\addJavaScript(), TYPO3\CMS\Impexp\Hook\BackendControllerHook\addJavaScript(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), and TYPO3\CMS\Backend\Form\FormResultCompiler\printNeededJSFunctions().

◆ addInlineSettingArray()

TYPO3\CMS\Core\Page\PageRenderer::addInlineSettingArray (   $namespace,
array  $array 
)

Adds Javascript Inline Setting. This will occur in TYPO3.settings - object The label can be used in scripts with TYPO3.setting.<key> Array will be merged with existing array.

Parameters
string$namespace
array$array

Definition at line 1724 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$inlineSettings.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\computeRequireJsConfig(), and TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

◆ addJsFile()

TYPO3\CMS\Core\Page\PageRenderer::addJsFile (   $file,
  $type = 'text/javascript',
  $compress = true,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $async = false,
  $integrity = '',
  $defer = false,
  $crossorigin = '' 
)

Adds JS file

Parameters
string$file‪File name
string$type‪Content Type
bool$compress
bool$forceOnTop
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$async‪Flag if property 'async="async"' should be added to JavaScript tags
string$integrity‪Subresource Integrity (SRI)
bool$defer‪Flag if property 'defer="defer"' should be added to JavaScript tags
string$crossorigin‪CORS settings attribute

Definition at line 1157 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\PART_HEADER.

Referenced by TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption(), and TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

◆ addJsFooterFile()

TYPO3\CMS\Core\Page\PageRenderer::addJsFooterFile (   $file,
  $type = 'text/javascript',
  $compress = true,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $async = false,
  $integrity = '',
  $defer = false,
  $crossorigin = '' 
)

Adds JS file to footer

Parameters
string$file‪File name
string$type‪Content Type
bool$compress
bool$forceOnTop
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$async‪Flag if property 'async="async"' should be added to JavaScript tags
string$integrity‪Subresource Integrity (SRI)
bool$defer‪Flag if property 'defer="defer"' should be added to JavaScript tags
string$crossorigin‪CORS settings attribute

Definition at line 1195 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\PART_FOOTER.

◆ addJsFooterInlineCode()

TYPO3\CMS\Core\Page\PageRenderer::addJsFooterInlineCode (   $name,
  $block,
  $compress = true,
  $forceOnTop = false 
)

Adds JS inline code to footer

Parameters
string$name
string$block
bool$compress
bool$forceOnTop

Definition at line 1246 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\PART_FOOTER.

Referenced by TYPO3\CMS\Form\ViewHelpers\Form\DatePickerViewHelper\renderInlineJavascript().

◆ addJsFooterLibrary()

TYPO3\CMS\Core\Page\PageRenderer::addJsFooterLibrary (   $name,
  $file,
  $type = 'text/javascript',
  $compress = false,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $async = false,
  $integrity = '',
  $defer = false,
  $crossorigin = '' 
)

Adds JS Library to Footer. JS Library block is rendered on top of the Footer JS files.

Parameters
string$name‪Arbitrary identifier
string$file‪File name
string$type‪Content Type
bool$compress‪Flag if library should be compressed
bool$forceOnTop‪Flag if added library should be inserted at begin of this block
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$async‪Flag if property 'async="async"' should be added to JavaScript tags
string$integrity‪Subresource Integrity (SRI)
bool$defer‪Flag if property 'defer="defer"' should be added to JavaScript tags
string$crossorigin‪CORS settings attribute

Definition at line 1118 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\PART_FOOTER.

◆ addJsInlineCode()

TYPO3\CMS\Core\Page\PageRenderer::addJsInlineCode (   $name,
  $block,
  $compress = true,
  $forceOnTop = false 
)

◆ addJsLibrary()

TYPO3\CMS\Core\Page\PageRenderer::addJsLibrary (   $name,
  $file,
  $type = 'text/javascript',
  $compress = false,
  $forceOnTop = false,
  $allWrap = '',
  $excludeFromConcatenation = false,
  $splitChar = '|',
  $async = false,
  $integrity = '',
  $defer = false,
  $crossorigin = '' 
)

Adds JS Library. JS Library block is rendered on top of the JS files.

Parameters
string$name‪Arbitrary identifier
string$file‪File name
string$type‪Content Type
bool$compress‪Flag if library should be compressed
bool$forceOnTop‪Flag if added library should be inserted at begin of this block
string$allWrap
bool$excludeFromConcatenation
string$splitChar‪The char used to split the allWrap value, default is "|"
bool$async‪Flag if property 'async="async"' should be added to JavaScript tags
string$integrity‪Subresource Integrity (SRI)
bool$defer‪Flag if property 'defer="defer"' should be added to JavaScript tags
string$crossorigin‪CORS settings attribute

Definition at line 1079 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\PART_HEADER.

◆ addMetaTag()

TYPO3\CMS\Core\Page\PageRenderer::addMetaTag (   $meta)

Adds meta data

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0.
Parameters
string$meta‪Meta data (complete metatag)

Definition at line 951 of file PageRenderer.php.

◆ addRequireJsConfiguration()

TYPO3\CMS\Core\Page\PageRenderer::addRequireJsConfiguration ( array  $configuration)

Add additional configuration to require js.

Configuration will be merged recursive with overrule.

To add another path mapping deliver the following configuration: 'paths' => array( 'EXTERN/mybootstrapjs' => 'sysext/.../twbs/bootstrap.min', ),

Parameters
array$configuration‪The configuration that will be merged with existing one.

Definition at line 1504 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs().

◆ computeRequireJsConfig()

array TYPO3\CMS\Core\Page\PageRenderer::computeRequireJsConfig (   $isDevelopment,
array  $packages 
)
protected

Computes the RequireJS configuration, mainly consisting of the paths to the core and all extension JavaScript resource folders plus some additional generic configuration.

Parameters
bool$isDevelopment
array$packages
Returns
‪array The RequireJS configuration

Definition at line 1415 of file PageRenderer.php.

References $GLOBALS, TYPO3\CMS\Core\Page\PageRenderer\$requireJsConfig, TYPO3\CMS\Core\Page\PageRenderer\addInlineSettingArray(), TYPO3\CMS\Core\Utility\PathUtility\getAbsoluteWebPath(), and TYPO3\CMS\Core\Core\Environment\getProjectPath().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs().

◆ convertCharsetRecursivelyToUtf8()

TYPO3\CMS\Core\Page\PageRenderer::convertCharsetRecursivelyToUtf8 ( $data,
string  $fromCharset 
)
protected

Small helper function to convert charsets for arrays into utf-8

Parameters
mixed$data‪given by reference (string/array usually)
string$fromCharset‪convert FROM this charset

Definition at line 2097 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadJavaScriptLanguageStrings().

◆ createCssTag()

string TYPO3\CMS\Core\Page\PageRenderer::createCssTag ( array  $properties,
string  $file 
)
private

Create link (inline=0) or style (inline=1) tag

Parameters
array$properties
string$file
Returns
‪string

Definition at line 2225 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\createInlineCssTagFromFile(), and TYPO3\CMS\Core\Page\PageRenderer\getStreamlinedFileName().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderCssFiles(), and TYPO3\CMS\Core\Page\PageRenderer\renderCssLibraries().

◆ createInlineCssTagFromFile()

string TYPO3\CMS\Core\Page\PageRenderer::createInlineCssTagFromFile ( string  $file,
array  $properties 
)
protected

Creates an CSS inline tag

Parameters
string$file‪the filename to process
array$properties
Returns
‪string

Definition at line 2821 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$cssInline.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\createCssTag().

◆ disableCompressCss()

TYPO3\CMS\Core\Page\PageRenderer::disableCompressCss ( )

Disables compression of css

Definition at line 635 of file PageRenderer.php.

◆ disableCompressJavascript()

TYPO3\CMS\Core\Page\PageRenderer::disableCompressJavascript ( )

Disables compression of javascript

Definition at line 619 of file PageRenderer.php.

◆ disableConcatenateCss()

TYPO3\CMS\Core\Page\PageRenderer::disableConcatenateCss ( )

Disables concatenation of css files

Definition at line 687 of file PageRenderer.php.

◆ disableConcatenateFiles()

TYPO3\CMS\Core\Page\PageRenderer::disableConcatenateFiles ( )

Disables concatenation of js and css files

Deprecated:
‪since TYPO3 v9.4, will be removed in TYPO3 v10.0

Definition at line 654 of file PageRenderer.php.

◆ disableConcatenateJavascript()

TYPO3\CMS\Core\Page\PageRenderer::disableConcatenateJavascript ( )

Disables concatenation of js files

Definition at line 671 of file PageRenderer.php.

◆ disableMoveJsFromHeaderToFooter()

TYPO3\CMS\Core\Page\PageRenderer::disableMoveJsFromHeaderToFooter ( )

Disables MoveJsFromHeaderToFooter

Definition at line 603 of file PageRenderer.php.

◆ disableRemoveLineBreaksFromTemplate()

TYPO3\CMS\Core\Page\PageRenderer::disableRemoveLineBreaksFromTemplate ( )

Unsets removal of all line breaks in template

Definition at line 703 of file PageRenderer.php.

◆ doCompress()

TYPO3\CMS\Core\Page\PageRenderer::doCompress ( )
protected

◆ doCompressCss()

◆ doCompressJavaScript()

◆ doConcatenate()

TYPO3\CMS\Core\Page\PageRenderer::doConcatenate ( )
protected

◆ doConcatenateCss()

◆ doConcatenateJavaScript()

◆ enableCompressCss()

TYPO3\CMS\Core\Page\PageRenderer::enableCompressCss ( )

Enables compression of css

Definition at line 627 of file PageRenderer.php.

◆ enableCompressJavascript()

TYPO3\CMS\Core\Page\PageRenderer::enableCompressJavascript ( )

Enables compression of javascript

Definition at line 611 of file PageRenderer.php.

◆ enableConcatenateCss()

TYPO3\CMS\Core\Page\PageRenderer::enableConcatenateCss ( )

Enables concatenation of css files

Definition at line 679 of file PageRenderer.php.

◆ enableConcatenateFiles()

TYPO3\CMS\Core\Page\PageRenderer::enableConcatenateFiles ( )

Enables concatenation of js and css files

Deprecated:
‪since TYPO3 v9.4, will be removed in TYPO3 v10.0

Definition at line 644 of file PageRenderer.php.

◆ enableConcatenateJavascript()

TYPO3\CMS\Core\Page\PageRenderer::enableConcatenateJavascript ( )

Enables concatenation of js files

Definition at line 663 of file PageRenderer.php.

◆ enableDebugMode()

TYPO3\CMS\Core\Page\PageRenderer::enableDebugMode ( )

Enables Debug Mode This is a shortcut to switch off all compress/concatenate features to enable easier debug

Definition at line 712 of file PageRenderer.php.

◆ enableMoveJsFromHeaderToFooter()

TYPO3\CMS\Core\Page\PageRenderer::enableMoveJsFromHeaderToFooter ( )

Enables MoveJsFromHeaderToFooter

Definition at line 595 of file PageRenderer.php.

◆ enableRemoveLineBreaksFromTemplate()

TYPO3\CMS\Core\Page\PageRenderer::enableRemoveLineBreaksFromTemplate ( )

Sets removal of all line breaks in template

Definition at line 695 of file PageRenderer.php.

◆ executePostRenderHook()

TYPO3\CMS\Core\Page\PageRenderer::executePostRenderHook ( $jsLibs,
$jsFiles,
$jsFooterFiles,
$cssLibs,
$cssFiles,
$jsInline,
$cssInline,
$jsFooterInline,
$jsFooterLibs 
)
protected

Execute postRenderHook for possible manipulation

Parameters
string$jsLibs
string$jsFiles
string$jsFooterFiles
string$cssLibs
string$cssFiles
string$jsInline
string$cssInline
string$jsFooterInline
string$jsFooterLibs

Definition at line 2775 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$baseUrl, TYPO3\CMS\Core\Page\PageRenderer\$baseUrlTag, TYPO3\CMS\Core\Page\PageRenderer\$bodyContent, TYPO3\CMS\Core\Page\PageRenderer\$charSet, TYPO3\CMS\Core\Page\PageRenderer\$cssFiles, TYPO3\CMS\Core\Page\PageRenderer\$cssInline, TYPO3\CMS\Core\Page\PageRenderer\$cssLibs, TYPO3\CMS\Core\Page\PageRenderer\$favIcon, TYPO3\CMS\Core\Page\PageRenderer\$footerData, $GLOBALS, TYPO3\CMS\Core\Page\PageRenderer\$headerData, TYPO3\CMS\Core\Page\PageRenderer\$headTag, TYPO3\CMS\Core\Page\PageRenderer\$htmlTag, TYPO3\CMS\Core\Page\PageRenderer\$iconMimeType, TYPO3\CMS\Core\Page\PageRenderer\$inlineComments, TYPO3\CMS\Core\Page\PageRenderer\$jsFiles, TYPO3\CMS\Core\Page\PageRenderer\$jsFooterFiles, TYPO3\CMS\Core\Page\PageRenderer\$jsFooterInline, TYPO3\CMS\Core\Page\PageRenderer\$jsFooterLibs, TYPO3\CMS\Core\Page\PageRenderer\$jsInline, TYPO3\CMS\Core\Page\PageRenderer\$jsLibs, TYPO3\CMS\Core\Page\PageRenderer\$metaCharsetTag, TYPO3\CMS\Core\Page\PageRenderer\$metaTags, TYPO3\CMS\Core\Page\PageRenderer\$shortcutTag, TYPO3\CMS\Core\Page\PageRenderer\$title, TYPO3\CMS\Core\Page\PageRenderer\$titleTag, and TYPO3\CMS\Core\Page\PageRenderer\$xmlPrologAndDocType.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCss().

◆ executePreRenderHook()

◆ executeRenderPostTransformHook()

◆ filterArrayKeys()

array TYPO3\CMS\Core\Page\PageRenderer::filterArrayKeys ( array  $array,
array  $keys,
bool  $keep = true 
)
protected
Parameters
array$array
string[]$keys
bool$keep
Returns
‪array

Definition at line 1566 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getRequireJsConfig().

◆ findRequireJsBaseModuleName()

string null TYPO3\CMS\Core\Page\PageRenderer::findRequireJsBaseModuleName ( string  $moduleName)
protected

Determines requireJS base module name (if defined).

Parameters
string$moduleName
Returns
‪string|null

Definition at line 1621 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadRequireJsModule().

◆ getAbsoluteWebPath()

string TYPO3\CMS\Core\Page\PageRenderer::getAbsoluteWebPath ( string  $file)
protected

Gets absolute web path of filename for backend disposal. Resolving the absolute path in the frontend with conflict with applying config.absRefPrefix in frontend rendering process.

Parameters
string$file
Returns
‪string
See also
TypoScriptFrontendController::setAbsRefPrefix()

Definition at line 2675 of file PageRenderer.php.

References TYPO3\CMS\Core\Utility\PathUtility\getAbsoluteWebPath().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getStreamlinedFileName(), and TYPO3\CMS\Core\Page\PageRenderer\processJsFile().

◆ getBaseUrl()

string TYPO3\CMS\Core\Page\PageRenderer::getBaseUrl ( )

Gets HTML base URL

Returns
‪string $url

Definition at line 823 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$baseUrl.

◆ getBodyContent()

string TYPO3\CMS\Core\Page\PageRenderer::getBodyContent ( )

Gets content for body

Returns
‪string

Definition at line 915 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$bodyContent.

◆ getCharSet()

string TYPO3\CMS\Core\Page\PageRenderer::getCharSet ( )

Gets the charSet

Returns
‪string $charSet

Definition at line 743 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$charSet.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadJavaScriptLanguageStrings().

◆ getCompressCss()

bool TYPO3\CMS\Core\Page\PageRenderer::getCompressCss ( )

Gets compress of css

Returns
‪bool

Definition at line 863 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$compressCss.

◆ getCompressJavascript()

bool TYPO3\CMS\Core\Page\PageRenderer::getCompressJavascript ( )

Gets compress of javascript

Returns
‪bool

Definition at line 853 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$compressJavascript.

◆ getCompressor()

TYPO3 CMS Core Resource ResourceCompressor TYPO3\CMS\Core\Page\PageRenderer::getCompressor ( )
protected

◆ getConcatenateCss()

bool TYPO3\CMS\Core\Page\PageRenderer::getConcatenateCss ( )

Gets concatenate of css files

Returns
‪bool

Definition at line 895 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$concatenateCss.

◆ getConcatenateFiles()

bool TYPO3\CMS\Core\Page\PageRenderer::getConcatenateFiles ( )

Gets concatenate of js and css files

Returns
‪bool
Deprecated:
‪since TYPO3 v9.4, will be removed in TYPO3 v10.0

Definition at line 874 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$concatenateFiles.

◆ getConcatenateJavascript()

bool TYPO3\CMS\Core\Page\PageRenderer::getConcatenateJavascript ( )

Gets concatenate of js files

Returns
‪bool

Definition at line 885 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$concatenateJavascript.

◆ getFavIcon()

string TYPO3\CMS\Core\Page\PageRenderer::getFavIcon ( )

Gets favicon

Returns
‪string $favIcon

Definition at line 803 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$favIcon.

◆ getHeadTag()

string TYPO3\CMS\Core\Page\PageRenderer::getHeadTag ( )

Gets head tag

Returns
‪string $tag Head tag

Definition at line 793 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$headTag.

◆ getHtmlTag()

string TYPO3\CMS\Core\Page\PageRenderer::getHtmlTag ( )

Gets html tag

Returns
‪string $htmlTag Html tag

Definition at line 773 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$htmlTag.

◆ getIconMimeType()

string TYPO3\CMS\Core\Page\PageRenderer::getIconMimeType ( )

Gets icon mime type

Returns
‪string $iconMimeType

Definition at line 813 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$iconMimeType.

◆ getInlineLanguageLabelFiles()

array TYPO3\CMS\Core\Page\PageRenderer::getInlineLanguageLabelFiles ( )

Gets the inline language files

Returns
‪array

Definition at line 935 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$inlineLanguageLabelFiles.

◆ getInlineLanguageLabels()

array TYPO3\CMS\Core\Page\PageRenderer::getInlineLanguageLabels ( )

Gets the inline language labels.

Returns
‪array The inline language labels

Definition at line 925 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$inlineLanguageLabels.

◆ getLanguage()

string TYPO3\CMS\Core\Page\PageRenderer::getLanguage ( )

Gets the language

Returns
‪string $lang

Definition at line 753 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$lang.

◆ getLanguageService()

TYPO3 CMS Core Localization LanguageService TYPO3\CMS\Core\Page\PageRenderer::getLanguageService ( )
protected

Returns global language service instance

Returns
‪\TYPO3\CMS\Core\Localization\LanguageService

Definition at line 2698 of file PageRenderer.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\addInlineLanguageLabelArray().

◆ getMetaCharsetTag()

string TYPO3\CMS\Core\Page\PageRenderer::getMetaCharsetTag ( )

Get meta charset

Returns
‪string

Definition at line 783 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$metaCharsetTag.

◆ getMetaTag()

array TYPO3\CMS\Core\Page\PageRenderer::getMetaTag ( string  $type,
string  $name 
)

Returns the requested meta tag

Parameters
string$type
string$name
Returns
‪array

Definition at line 992 of file PageRenderer.php.

◆ getMoveJsFromHeaderToFooter()

bool TYPO3\CMS\Core\Page\PageRenderer::getMoveJsFromHeaderToFooter ( )

Gets MoveJsFromHeaderToFooter

Returns
‪bool

Definition at line 843 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$moveJsFromHeaderToFooter.

◆ getPreparedMarkerArray()

array TYPO3\CMS\Core\Page\PageRenderer::getPreparedMarkerArray (   $jsLibs,
  $jsFiles,
  $jsFooterFiles,
  $cssLibs,
  $cssFiles,
  $jsInline,
  $cssInline,
  $jsFooterInline,
  $jsFooterLibs,
  $metaTags 
)
protected

◆ getPreparedMarkerArrayForPageWithUncachedObjects()

array TYPO3\CMS\Core\Page\PageRenderer::getPreparedMarkerArrayForPageWithUncachedObjects (   $substituteHash)
protected

Fills the marker array with the given strings and trims each value

Parameters
string$substituteHash‪The hash that is used for the placehoder markers
Returns
‪array Marker array

Definition at line 1954 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$bodyContent, TYPO3\CMS\Core\Page\PageRenderer\$headTag, TYPO3\CMS\Core\Page\PageRenderer\$htmlTag, and TYPO3\CMS\Core\Page\PageRenderer\$xmlPrologAndDocType.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderPageWithUncachedObjects().

◆ getRemoveLineBreaksFromTemplate()

bool TYPO3\CMS\Core\Page\PageRenderer::getRemoveLineBreaksFromTemplate ( )

Gets remove of empty lines from template

Returns
‪bool

Definition at line 905 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$removeLineBreaksFromTemplate.

◆ getRenderXhtml()

bool TYPO3\CMS\Core\Page\PageRenderer::getRenderXhtml ( )

Returns rendering mode XHTML or HTML

Returns
‪bool TRUE if XHTML, FALSE if HTML

Definition at line 763 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$renderXhtml.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\prepareRendering().

◆ getRequireJsConfig()

array TYPO3\CMS\Core\Page\PageRenderer::getRequireJsConfig ( string  $scope = null)
Parameters
string$scope
Returns
‪array

Definition at line 562 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\filterArrayKeys().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getRequireJsLoader().

◆ getRequireJsLoader()

string TYPO3\CMS\Core\Page\PageRenderer::getRequireJsLoader ( )
protected

◆ getStreamlinedFileName()

string TYPO3\CMS\Core\Page\PageRenderer::getStreamlinedFileName (   $file,
  $prepareForOutput = true 
)
protected

This function acts as a wrapper to allow relative and paths starting with EXT: to be dealt with in this very case to always return the absolute web path to be included directly before output.

This is mainly added so the EXT: syntax can be resolved for PageRenderer in one central place, and hopefully removed in the future by one standard API call.

Parameters
string$file‪the filename to process
bool$prepareForOutput‪whether the file should be prepared as version numbered file and prefixed as absolute webpath
Returns
‪string

Definition at line 2649 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\getAbsoluteWebPath(), and TYPO3\CMS\Core\Utility\PathUtility\getRelativePathTo().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\createCssTag(), TYPO3\CMS\Core\Page\PageRenderer\processJsFile(), TYPO3\CMS\Core\Page\PageRenderer\renderAdditionalJavaScriptLibraries(), and TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptFiles().

◆ getTemplateFile()

string TYPO3\CMS\Core\Page\PageRenderer::getTemplateFile ( )

Gets template file

Returns
‪string

Definition at line 833 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$templateFile.

◆ getTemplateForPart()

string TYPO3\CMS\Core\Page\PageRenderer::getTemplateForPart (   $part)
protected

Reads the template file and returns the requested part as string

Parameters
int$part
Returns
‪string

Definition at line 1989 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$templateFile.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\render(), and TYPO3\CMS\Core\Page\PageRenderer\renderPageWithUncachedObjects().

◆ getTitle()

string TYPO3\CMS\Core\Page\PageRenderer::getTitle ( )

Gets the title

Returns
‪string $title Title of webpage

Definition at line 733 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$title.

◆ getTypoScriptFrontendController()

TypoScriptFrontendController TYPO3\CMS\Core\Page\PageRenderer::getTypoScriptFrontendController ( )
protected

Returns global frontend controller

Returns
‪TypoScriptFrontendController

Definition at line 2688 of file PageRenderer.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\addInlineLanguageLabelArray().

◆ includeLanguageFileForInline()

TYPO3\CMS\Core\Page\PageRenderer::includeLanguageFileForInline (   $fileRef,
  $selectionPrefix = '',
  $stripFromSelectionName = '' 
)
protected

Include language file for inline usage

Parameters
string$fileRef
string$selectionPrefix
string$stripFromSelectionName
Exceptions

Definition at line 2404 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\readLLfile().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadJavaScriptLanguageStrings().

◆ loadJavaScriptLanguageStrings()

TYPO3\CMS\Core\Page\PageRenderer::loadJavaScriptLanguageStrings ( )
protected

◆ loadJquery()

TYPO3\CMS\Core\Page\PageRenderer::loadJquery (   $version = null,
  $source = null,
  $namespace = self::JQUERY_NAMESPACE_NONE,
bool  $isCoreCall = false 
)

Call this function if you need to include the jQuery library

Parameters
string | null$version‪The jQuery version that should be included, either "latest" or any available version
string | null$source‪The location of the jQuery source, can be "local", "google", "msn", "jquery" or just an URL to your jQuery lib
string$namespace‪The namespace in which the jQuery object of the specific version should be stored.
bool$isCoreCall‪if set, then the deprecation message is suppressed.
Exceptions

Definition at line 1351 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\JQUERY_VERSION_LATEST.

Referenced by TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

◆ loadRequireJs()

TYPO3\CMS\Core\Page\PageRenderer::loadRequireJs ( )

Call function if you need the requireJS library this automatically adds the JavaScript path of all loaded extensions in the requireJS path option so it resolves names like TYPO3/CMS/MyExtension/MyJsFile to EXT:MyExtension/Resources/Public/JavaScript/MyJsFile.js when using requireJS

Definition at line 1382 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$cache, TYPO3\CMS\Core\Page\PageRenderer\$requireJsConfig, TYPO3\CMS\Core\Page\PageRenderer\computeRequireJsConfig(), TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\get(), and TYPO3\CMS\Core\Cache\Frontend\FrontendInterface\set().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\addRequireJsConfiguration(), and TYPO3\CMS\Core\Page\PageRenderer\loadRequireJsModule().

◆ loadRequireJsModule()

TYPO3\CMS\Core\Page\PageRenderer::loadRequireJsModule (   $mainModuleName,
  $callBackFunction = null 
)

includes an AMD-compatible JS file by resolving the ModuleName, and then requires the file via a requireJS request, additionally allowing to execute JavaScript code afterwards

this function only works for AMD-ready JS modules, used like "define('TYPO3/CMS/Backend/FormEngine..." in the JS file

TYPO3/CMS/Backend/FormEngine => "TYPO3": Vendor Name "CMS": Product Name "Backend": Extension Name "FormEngine": FileName in the Resources/Public/JavaScript folder

Parameters
string$mainModuleName‪Must be in the form of "TYPO3/CMS/PackageName/ModuleName" e.g. "TYPO3/CMS/Backend/FormEngine"
string$callBackFunction‪loaded right after the requireJS loading, must be wrapped in function() {}

Definition at line 1593 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\addJsInlineCode(), TYPO3\CMS\Core\Page\PageRenderer\findRequireJsBaseModuleName(), and TYPO3\CMS\Core\Page\PageRenderer\loadRequireJs().

Referenced by TYPO3\CMS\Backend\Backend\ToolbarItems\LiveSearchToolbarItem\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem\__construct(), TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem\__construct(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\__construct(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\editTaskAction(), TYPO3\CMS\Rsaauth\RsaEncryptionEncoder\enableRsaEncryption(), TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController\func_search(), TYPO3\CMS\Beuser\Controller\PermissionController\initializeView(), TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom(), TYPO3\CMS\Scheduler\Controller\SchedulerModuleController\listTasksAction(), TYPO3\CMS\Info\Controller\TranslationStatusController\main(), TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController\main(), TYPO3\CMS\Recordlist\Controller\RecordListController\main(), TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider\render(), TYPO3\CMS\Fluid\ViewHelpers\Be\TableListViewHelper\render(), and TYPO3\CMS\Backend\Controller\PageLayoutController\renderContent().

◆ parseLanguageLabelsForJavaScript()

array TYPO3\CMS\Core\Page\PageRenderer::parseLanguageLabelsForJavaScript ( )
protected

Converts the language labels for usage in JavaScript

Returns
‪array

Definition at line 2055 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries().

◆ prepareRendering()

TYPO3\CMS\Core\Page\PageRenderer::prepareRendering ( )
protected

Remove ending slashes from static header block if the page is being rendered as html (not xhtml) and define property $this->endingSlash for further use

Definition at line 1855 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\getRenderXhtml().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\render(), TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCssForProcessingOfUncachedContentObjects(), and TYPO3\CMS\Core\Page\PageRenderer\renderPageWithUncachedObjects().

◆ processJsFile()

string TYPO3\CMS\Core\Page\PageRenderer::processJsFile (   $filename)
protected

Processes a Javascript file dependent on the current context

Adds the version number for Frontend, compresses the file for Backend

Parameters
string$filename‪Filename
Returns
‪string New filename

Definition at line 2626 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\getAbsoluteWebPath(), TYPO3\CMS\Core\Page\PageRenderer\getCompressor(), and TYPO3\CMS\Core\Page\PageRenderer\getStreamlinedFileName().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getRequireJsLoader(), and TYPO3\CMS\Core\Page\PageRenderer\renderJqueryScriptTag().

◆ readLLfile()

array TYPO3\CMS\Core\Page\PageRenderer::readLLfile (   $fileRef)
protected

Reads a locallang file.

Parameters
string$fileRef‪Reference to a relative filename to include.
Returns
‪array Returns the $LOCAL_LANG array found in the file. If no array found, returns empty array.

Definition at line 2437 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$lang, and TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\includeLanguageFileForInline().

◆ removeMetaTag()

TYPO3\CMS\Core\Page\PageRenderer::removeMetaTag ( string  $type,
string  $name 
)

Unset the requested meta tag

Parameters
string$type
string$name

Definition at line 1017 of file PageRenderer.php.

◆ render()

◆ renderAdditionalJavaScriptLibraries()

array<string> TYPO3\CMS\Core\Page\PageRenderer::renderAdditionalJavaScriptLibraries ( )
protected

Render JavaScipt libraries

Returns
‪array<string> jsLibs and jsFooterLibs strings

Definition at line 2273 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$jsFooterLibs, TYPO3\CMS\Core\Page\PageRenderer\$jsLibs, and TYPO3\CMS\Core\Page\PageRenderer\getStreamlinedFileName().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCss().

◆ renderCssFiles()

string TYPO3\CMS\Core\Page\PageRenderer::renderCssFiles ( )
protected

◆ renderCssInline()

string TYPO3\CMS\Core\Page\PageRenderer::renderCssInline ( )
protected

Render inline CSS

Returns
‪string

Definition at line 2251 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$cssInline.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCss().

◆ renderCssLibraries()

string TYPO3\CMS\Core\Page\PageRenderer::renderCssLibraries ( )
protected

◆ renderInlineJavaScript()

array<string> TYPO3\CMS\Core\Page\PageRenderer::renderInlineJavaScript ( )
protected

Render inline JavaScript

Returns
‪array<string> jsInline and jsFooterInline string

Definition at line 2361 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$jsFooterInline, and TYPO3\CMS\Core\Page\PageRenderer\$jsInline.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCss().

◆ renderJavaScriptAndCss()

◆ renderJavaScriptAndCssForProcessingOfUncachedContentObjects()

string TYPO3\CMS\Core\Page\PageRenderer::renderJavaScriptAndCssForProcessingOfUncachedContentObjects (   $cachedPageContent,
  $substituteHash 
)

◆ renderJavaScriptFiles()

array<string> TYPO3\CMS\Core\Page\PageRenderer::renderJavaScriptFiles ( )
protected

Render JavaScript files

Returns
‪array<string> jsFiles and jsFooterFiles strings

Definition at line 2317 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$jsFiles, TYPO3\CMS\Core\Page\PageRenderer\$jsFooterFiles, and TYPO3\CMS\Core\Page\PageRenderer\getStreamlinedFileName().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderJavaScriptAndCss().

◆ renderJqueryScriptTag()

string TYPO3\CMS\Core\Page\PageRenderer::renderJqueryScriptTag (   $version,
  $source,
  $namespace 
)
protected

Renders the HTML script tag for the given jQuery version.

Parameters
string$version‪The jQuery version that should be included, either "latest" or any available version
string$source‪The location of the jQuery source, can be "local", "google", "msn" or "jquery
string$namespace‪The namespace in which the jQuery object of the specific version should be stored
Returns
‪string

Definition at line 2145 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\processJsFile().

Referenced by TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries().

◆ renderMainJavaScriptLibraries()

string TYPO3\CMS\Core\Page\PageRenderer::renderMainJavaScriptLibraries ( )
protected

◆ renderMetaTagsFromAPI()

array TYPO3\CMS\Core\Page\PageRenderer::renderMetaTagsFromAPI ( )
protected

◆ renderPageWithUncachedObjects()

string TYPO3\CMS\Core\Page\PageRenderer::renderPageWithUncachedObjects (   $substituteHash)

Render the page but not the JavaScript and CSS Files

Parameters
string$substituteHash‪The hash that is used for the placehoder markers
Returns
‪string Content of rendered section

Definition at line 1805 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\getPreparedMarkerArrayForPageWithUncachedObjects(), TYPO3\CMS\Core\Page\PageRenderer\getTemplateForPart(), and TYPO3\CMS\Core\Page\PageRenderer\prepareRendering().

◆ reset()

TYPO3\CMS\Core\Page\PageRenderer::reset ( )
protected

◆ setBaseUrl()

TYPO3\CMS\Core\Page\PageRenderer::setBaseUrl (   $baseUrl)

Sets HTML base URL

Parameters
string$baseUrl‪HTML base URL

Definition at line 523 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$baseUrl.

◆ setBodyContent()

TYPO3\CMS\Core\Page\PageRenderer::setBodyContent (   $content)

Sets Content for Body

Parameters
string$content

Definition at line 543 of file PageRenderer.php.

◆ setCache()

static TYPO3\CMS\Core\Page\PageRenderer::setCache ( FrontendInterface  $cache)
static
Parameters
FrontendInterface$cache

Definition at line 377 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$cache.

Referenced by TYPO3\CMS\Core\Core\Bootstrap\init().

◆ setCharSet()

TYPO3\CMS\Core\Page\PageRenderer::setCharSet (   $charSet)

Sets meta charset

Parameters
string$charSet‪Used charset

Definition at line 444 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$charSet.

◆ setFavIcon()

TYPO3\CMS\Core\Page\PageRenderer::setFavIcon (   $favIcon)

Sets favicon

Parameters
string$favIcon

Definition at line 503 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$favIcon.

◆ setHeadTag()

TYPO3\CMS\Core\Page\PageRenderer::setHeadTag (   $headTag)

Sets HTML head tag

Parameters
string$headTag‪HTML head tag

Definition at line 493 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$headTag.

◆ setHtmlTag()

TYPO3\CMS\Core\Page\PageRenderer::setHtmlTag (   $htmlTag)

Sets html tag

Parameters
string$htmlTagHtml tag

Definition at line 483 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$htmlTag.

◆ setIconMimeType()

TYPO3\CMS\Core\Page\PageRenderer::setIconMimeType (   $iconMimeType)

Sets icon mime type

Parameters
string$iconMimeType

Definition at line 513 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$iconMimeType.

◆ setLanguage()

TYPO3\CMS\Core\Page\PageRenderer::setLanguage (   $lang)

Sets language

Parameters
string$lang‪Used language

Definition at line 454 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$lang.

◆ setMetaCharsetTag()

TYPO3\CMS\Core\Page\PageRenderer::setMetaCharsetTag (   $metaCharsetTag)

Set the meta charset tag

Parameters
string$metaCharsetTag

Definition at line 473 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$metaCharsetTag.

◆ setMetaTag()

TYPO3\CMS\Core\Page\PageRenderer::setMetaTag ( string  $type,
string  $name,
string  $content,
array  $subProperties = [],
  $replace = true 
)

Sets a given meta tag

Parameters
string$type‪The type of the meta tag. Allowed values are property, name or http-equiv
string$name‪The name of the property to add
string$content‪The content of the meta tag
array$subProperties‪Subproperties of the meta tag (like e.g. og:image:width)
bool$replace‪Replace earlier set meta tag
Exceptions

Definition at line 969 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\__construct().

◆ setRenderXhtml()

TYPO3\CMS\Core\Page\PageRenderer::setRenderXhtml (   $enable)

Enables/disables rendering of XHTML code

Parameters
bool$enable‪Enable XHTML

Definition at line 424 of file PageRenderer.php.

◆ setRequireJsPath()

TYPO3\CMS\Core\Page\PageRenderer::setRequireJsPath (   $path)

Sets path to requireJS library (relative to typo3 directory)

Parameters
string$path‪Path to requireJS library

Definition at line 553 of file PageRenderer.php.

◆ setTemplateFile()

TYPO3\CMS\Core\Page\PageRenderer::setTemplateFile (   $file)

Sets template file

Parameters
string$file

Definition at line 533 of file PageRenderer.php.

◆ setTitle()

TYPO3\CMS\Core\Page\PageRenderer::setTitle (   $title)

Sets the title

Parameters
string$title‪title of webpage

Definition at line 414 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$title.

◆ setXmlPrologAndDocType()

TYPO3\CMS\Core\Page\PageRenderer::setXmlPrologAndDocType (   $xmlPrologAndDocType)

Sets xml prolog and docType

Parameters
string$xmlPrologAndDocType‪Complete tags for xml prolog and docType

Definition at line 434 of file PageRenderer.php.

References TYPO3\CMS\Core\Page\PageRenderer\$xmlPrologAndDocType.

Member Data Documentation

◆ $addRequireJs

bool TYPO3\CMS\Core\Page\PageRenderer::$addRequireJs = false
protected

if set, the requireJS library is included

Definition at line 281 of file PageRenderer.php.

◆ $availableLocalJqueryVersions

array TYPO3\CMS\Core\Page\PageRenderer::$availableLocalJqueryVersions
protected
Initial value:
= array(
self::JQUERY_VERSION_LATEST
)

Array of jQuery version numbers shipped with the core

Deprecated:
‪will be removed in TYPO3 v10.0.

Definition at line 263 of file PageRenderer.php.

◆ $baseUrl

string TYPO3\CMS\Core\Page\PageRenderer::$baseUrl
protected

◆ $baseUrlTag

string TYPO3\CMS\Core\Page\PageRenderer::$baseUrlTag = '<base href="|" />'
protected

◆ $bodyContent

◆ $cache

FrontendInterface TYPO3\CMS\Core\Page\PageRenderer::$cache = null
staticprotected

◆ $charSet

string TYPO3\CMS\Core\Page\PageRenderer::$charSet
protected

◆ $compressCss

bool TYPO3\CMS\Core\Page\PageRenderer::$compressCss = false
protected

Definition at line 56 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getCompressCss().

◆ $compressError

string TYPO3\CMS\Core\Page\PageRenderer::$compressError = ''
protected

Saves error messages generated during compression

Definition at line 326 of file PageRenderer.php.

◆ $compressJavascript

bool TYPO3\CMS\Core\Page\PageRenderer::$compressJavascript = false
protected

◆ $compressor

TYPO3 CMS Core Resource ResourceCompressor TYPO3\CMS\Core\Page\PageRenderer::$compressor
protected

Definition at line 99 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getCompressor().

◆ $concatenateCss

bool TYPO3\CMS\Core\Page\PageRenderer::$concatenateCss = false
protected

Definition at line 73 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getConcatenateCss().

◆ $concatenateFiles

bool TYPO3\CMS\Core\Page\PageRenderer::$concatenateFiles = false
protected
Deprecated:
‪will be removed in TYPO3 v10.0, in favor of concatenateJavaScript and concatenateCss

Definition at line 65 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getConcatenateFiles().

◆ $concatenateJavascript

bool TYPO3\CMS\Core\Page\PageRenderer::$concatenateJavascript = false
protected

◆ $cssFiles

◆ $cssInline

◆ $cssLibs

◆ $enableJqueryDebug

bool TYPO3\CMS\Core\Page\PageRenderer::$enableJqueryDebug = false
protected

Definition at line 300 of file PageRenderer.php.

◆ $endingSlash

string TYPO3\CMS\Core\Page\PageRenderer::$endingSlash = ''
protected

Is empty string for HTML and ' /' for XHTML rendering

Definition at line 332 of file PageRenderer.php.

◆ $extOnReadyCode

array TYPO3\CMS\Core\Page\PageRenderer::$extOnReadyCode = array( )
protected

Definition at line 210 of file PageRenderer.php.

◆ $favIcon

string TYPO3\CMS\Core\Page\PageRenderer::$favIcon
protected

◆ $footerData

◆ $headerData

◆ $headTag

◆ $htmlTag

◆ $iconMimeType

string TYPO3\CMS\Core\Page\PageRenderer::$iconMimeType = ''
protected

◆ $inlineComments

array TYPO3\CMS\Core\Page\PageRenderer::$inlineComments = array( )
protected

◆ $inlineCssWrap

array TYPO3\CMS\Core\Page\PageRenderer::$inlineCssWrap = array( )
protected

Definition at line 320 of file PageRenderer.php.

◆ $inlineJavascriptWrap

array TYPO3\CMS\Core\Page\PageRenderer::$inlineJavascriptWrap = array( )
protected

Definition at line 316 of file PageRenderer.php.

◆ $inlineLanguageLabelFiles

array TYPO3\CMS\Core\Page\PageRenderer::$inlineLanguageLabelFiles = array( )
protected

◆ $inlineLanguageLabels

array TYPO3\CMS\Core\Page\PageRenderer::$inlineLanguageLabels = array( )
protected

◆ $inlineSettings

array TYPO3\CMS\Core\Page\PageRenderer::$inlineSettings = array( )
protected

◆ $internalRequireJsPathModuleNames

array TYPO3\CMS\Core\Page\PageRenderer::$internalRequireJsPathModuleNames = array( )
protected

Module names of internal requireJS 'paths'

Definition at line 291 of file PageRenderer.php.

◆ $jQueryCdnUrls

array TYPO3\CMS\Core\Page\PageRenderer::$jQueryCdnUrls
protected
Initial value:
= array(
'google' => 'https://ajax.googleapis.com/ajax/libs/jquery/%1$s/jquery%2$s.js',
'msn' => 'https://ajax.aspnetcdn.com/ajax/jQuery/jquery-%1$s%2$s.js',
'jquery' => 'https://code.jquery.com/jquery-%1$s%2$s.js',
'cloudflare' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery/%1$s/jquery%2$s.js'
)

Array of jQuery CDNs with placeholders

Definition at line 271 of file PageRenderer.php.

◆ $jQueryPath

string TYPO3\CMS\Core\Page\PageRenderer::$jQueryPath = 'EXT:core/Resources/Public/JavaScript/Contrib/jquery/'
protected

The local directory where one can find jQuery versions and plugins

Deprecated:
‪will be removed in TYPO3 v10.0.

Definition at line 236 of file PageRenderer.php.

◆ $jQueryVersions

array TYPO3\CMS\Core\Page\PageRenderer::$jQueryVersions = array( )
protected

This array holds all jQuery versions that should be included in the current page. Each version is described by "source", "version" and "namespace"

The namespace of every particular version is the key of that array, because only one version per namespace can exist.

The type "source" describes where the jQuery core should be included from currently, TYPO3 supports "local" (make use of jQuery path), "google", "jquery", "msn" and "cloudflare".

Currently there are downsides to "local" which supports only the latest/shipped jQuery core out of the box.

Deprecated:
‪will be removed in TYPO3 v10.0.

Definition at line 256 of file PageRenderer.php.

◆ $jsFiles

◆ $jsFooterFiles

◆ $jsFooterInline

◆ $jsFooterLibs

◆ $jsInline

◆ $jsLibs

◆ $lang

string TYPO3\CMS\Core\Page\PageRenderer::$lang
protected

The language key Two character string or 'default'

Definition at line 88 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getLanguage(), TYPO3\CMS\Core\Page\PageRenderer\readLLfile(), and TYPO3\CMS\Core\Page\PageRenderer\setLanguage().

◆ $languageDependencies

array TYPO3\CMS\Core\Page\PageRenderer::$languageDependencies = array( )
protected

List of language dependencies for actual language. This is used for local variants of a language that depend on their "main" language, like Brazilian Portuguese or Canadian French.

Definition at line 95 of file PageRenderer.php.

◆ $locales

TYPO3 CMS Core Localization Locales TYPO3\CMS\Core\Page\PageRenderer::$locales
protected

Definition at line 81 of file PageRenderer.php.

◆ $metaCharsetTag

string TYPO3\CMS\Core\Page\PageRenderer::$metaCharsetTag = '<meta http-equiv="Content-Type" content="text/html; charset=|" />'
protected

◆ $metaTagRegistry

MetaTagManagerRegistry TYPO3\CMS\Core\Page\PageRenderer::$metaTagRegistry
protected

Definition at line 336 of file PageRenderer.php.

◆ $metaTags

◆ $moveJsFromHeaderToFooter

bool TYPO3\CMS\Core\Page\PageRenderer::$moveJsFromHeaderToFooter = false
protected

◆ $publicRequireJsConfig

array TYPO3\CMS\Core\Page\PageRenderer::$publicRequireJsConfig = array( )
protected

Inline configuration for requireJS (public)

Definition at line 296 of file PageRenderer.php.

◆ $removeLineBreaksFromTemplate

bool TYPO3\CMS\Core\Page\PageRenderer::$removeLineBreaksFromTemplate = false
protected

◆ $renderXhtml

bool TYPO3\CMS\Core\Page\PageRenderer::$renderXhtml = true
protected

Definition at line 148 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\getRenderXhtml().

◆ $requireJsConfig

array TYPO3\CMS\Core\Page\PageRenderer::$requireJsConfig = array( )
protected

◆ $requireJsPath

string TYPO3\CMS\Core\Page\PageRenderer::$requireJsPath = 'EXT:core/Resources/Public/JavaScript/Contrib/'
protected

default path to the requireJS library, relative to the typo3/ directory

Definition at line 229 of file PageRenderer.php.

◆ $shortcutTag

string TYPO3\CMS\Core\Page\PageRenderer::$shortcutTag = '<link rel="shortcut icon" href="%1$s"%2$s />'
protected

◆ $templateFile

string TYPO3\CMS\Core\Page\PageRenderer::$templateFile
protected

◆ $title

◆ $titleTag

string TYPO3\CMS\Core\Page\PageRenderer::$titleTag = '<title>|</title>'
protected

◆ $xmlPrologAndDocType

◆ JQUERY_NAMESPACE_NONE

◆ JQUERY_VERSION_LATEST

const TYPO3\CMS\Core\Page\PageRenderer::JQUERY_VERSION_LATEST = '3.3.1'

Definition at line 42 of file PageRenderer.php.

Referenced by TYPO3\CMS\Core\Page\PageRenderer\loadJquery().

◆ PART_COMPLETE

const TYPO3\CMS\Core\Page\PageRenderer::PART_COMPLETE = 0

◆ PART_FOOTER

◆ PART_HEADER

◆ REQUIREJS_SCOPE_CONFIG

const TYPO3\CMS\Core\Page\PageRenderer::REQUIREJS_SCOPE_CONFIG = 'config'

Definition at line 47 of file PageRenderer.php.

◆ REQUIREJS_SCOPE_RESOLVE

const TYPO3\CMS\Core\Page\PageRenderer::REQUIREJS_SCOPE_RESOLVE = 'resolve'