‪TYPO3CMS  9.5
TYPO3\CMS\Fluid\Core\Widget\Bootstrap Class Reference

Public Member Functions

string run ($content, $configuration)
 
 initializeConfiguration ($configuration)
 
 configureObjectManager (bool $isInternalCall=false)
 

Public Attributes

TYPO3 CMS Frontend ContentObject ContentObjectRenderer $cObj
 

Protected Attributes

TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
 
TYPO3 CMS Extbase Configuration ConfigurationManagerInterface $configurationManager
 

Detailed Description

This is the bootstrap for Ajax Widget responses

This class is only used internally by the widget framework.

Definition at line 22 of file Bootstrap.php.

Member Function Documentation

◆ configureObjectManager()

TYPO3\CMS\Fluid\Core\Widget\Bootstrap::configureObjectManager ( bool  $isInternalCall = false)

Configures the object manager object configuration from config.tx_extbase.objects

Parameters
$isInternalCall‪bool Set to true by Bootstrap, not by extensions
See also
‪initialize()
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 83 of file Bootstrap.php.

Referenced by TYPO3\CMS\Fluid\Core\Widget\Bootstrap\run().

◆ initializeConfiguration()

TYPO3\CMS\Fluid\Core\Widget\Bootstrap::initializeConfiguration (   $configuration)

Initializes the Object framework.

Parameters
array$configuration
See also
‪initialize()

Definition at line 66 of file Bootstrap.php.

Referenced by TYPO3\CMS\Fluid\Core\Widget\Bootstrap\run().

◆ run()

string TYPO3\CMS\Fluid\Core\Widget\Bootstrap::run (   $content,
  $configuration 
)
Parameters
string$content‪The content
array$configuration‪The TS configuration array
Returns
‪string $content The processed content

Definition at line 44 of file Bootstrap.php.

References TYPO3\CMS\Fluid\Core\Widget\Bootstrap\$cObj, TYPO3\CMS\Fluid\Core\Widget\Bootstrap\configureObjectManager(), and TYPO3\CMS\Fluid\Core\Widget\Bootstrap\initializeConfiguration().

Member Data Documentation

◆ $cObj

TYPO3 CMS Frontend ContentObject ContentObjectRenderer TYPO3\CMS\Fluid\Core\Widget\Bootstrap::$cObj

Back reference to the parent content object This has to be public as it is set directly from TYPO3

Definition at line 29 of file Bootstrap.php.

Referenced by TYPO3\CMS\Fluid\Core\Widget\Bootstrap\run().

◆ $configurationManager

TYPO3 CMS Extbase Configuration ConfigurationManagerInterface TYPO3\CMS\Fluid\Core\Widget\Bootstrap::$configurationManager
protected

Definition at line 37 of file Bootstrap.php.

◆ $objectManager

TYPO3 CMS Extbase Object ObjectManagerInterface TYPO3\CMS\Fluid\Core\Widget\Bootstrap::$objectManager
protected

Definition at line 33 of file Bootstrap.php.