TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Bootstrap Class Reference
Inheritance diagram for Bootstrap:
BootstrapInterface

Public Member Functions

 initialize ($configuration)
 
 configureObjectManager ()
 
 initializePersistence ()
 
 run ($content, $configuration)
 

Public Attributes

 $cObj
 

Protected Member Functions

 initializeObjectManager ()
 
 initializeCache ()
 
 initializeReflection ()
 
 resetSingletons ()
 
 isInCliMode ()
 

Protected Attributes

 $context
 
 $configurationManager
 
 $objectManager
 
 $cacheManager
 
 $reflectionService
 
 $persistenceManager
 

Detailed Description

Creates a request an dispatches it to the controller which was specified by TS Setup, flexForm and returns the content to the v4 framework.

This class is the main entry point for extbase extensions.

Definition at line 23 of file extbase/Classes/Core/Bootstrap.php.

Member Function Documentation

configureObjectManager ( )

Configures the object manager object configuration from config.tx_extbase.objects and plugin.tx_foo.objects

Returns
void
See Also
initialize()

Definition at line 129 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

initialize (   $configuration)

Explicitly initializes all necessary Extbase objects by invoking the various initialize* methods.

Usually this method is only called from unit tests or other applications which need a more fine grained control over the initialization and request handling process. Most other applications just call the run() method.

Parameters
array$configurationThe TS configuration array
Exceptions
\RuntimeException
Returns
void
See Also
run()

Definition at line 77 of file extbase/Classes/Core/Bootstrap.php.

References Bootstrap\configureObjectManager(), Bootstrap\initializeCache(), Bootstrap\initializeObjectManager(), Bootstrap\initializePersistence(), Bootstrap\initializeReflection(), and Bootstrap\isInCliMode().

Referenced by Bootstrap\run().

initializeCache ( )
protected

Initializes the cache framework

Returns
void
See Also
initialize()

Definition at line 150 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

initializeObjectManager ( )
protected

Initializes the Object framework.

Returns
void
See Also
initialize()

Definition at line 101 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

initializePersistence ( )

Initializes the persistence framework

Returns
void
See Also
initialize()

Definition at line 176 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

initializeReflection ( )
protected

Initializes the Reflection Service

Returns
void
See Also
initialize()

Definition at line 161 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

isInCliMode ( )
protected
Returns
bool

Definition at line 239 of file extbase/Classes/Core/Bootstrap.php.

Referenced by Bootstrap\initialize().

resetSingletons ( )
protected

Resets global singletons for the next plugin

Returns
void

Definition at line 230 of file extbase/Classes/Core/Bootstrap.php.

run (   $content,
  $configuration 
)

Runs the the Extbase Framework by resolving an appropriate Request Handler and passing control to it. If the Framework is not initialized yet, it will be initialized.

Parameters
string$contentThe content. Not used
array$configurationThe TS configuration array
Returns
string $content The processed content

Implements BootstrapInterface.

Definition at line 190 of file extbase/Classes/Core/Bootstrap.php.

References Bootstrap\initialize().

Member Data Documentation

$cacheManager
protected

Definition at line 53 of file extbase/Classes/Core/Bootstrap.php.

$cObj

Definition at line 31 of file extbase/Classes/Core/Bootstrap.php.

$configurationManager
protected

Definition at line 43 of file extbase/Classes/Core/Bootstrap.php.

$context
protected

Definition at line 38 of file extbase/Classes/Core/Bootstrap.php.

$objectManager
protected

Definition at line 48 of file extbase/Classes/Core/Bootstrap.php.

$persistenceManager
protected

Definition at line 63 of file extbase/Classes/Core/Bootstrap.php.

$reflectionService
protected

Definition at line 58 of file extbase/Classes/Core/Bootstrap.php.