PHP Class Contao\CoreBundle\Framework\ContaoFramework

Inheritance: implements Contao\CoreBundle\Framework\ContaoFrameworkInterface, use trait ScopeAwareTrait
Mostrar archivo Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\Session\SessionInterface $session, string $rootDir, integer $errorLevel ) Constructor.
createInstance ( $class, $args = [] )
getAdapter ( $class )
initialize ( )
isInitialized ( )

Private Methods

Method Description
canSkipTokenCheck ( ) : boolean Checks if the token check can be skipped.
getMode ( ) : string | null Returns the TL_MODE value.
getPath ( ) : string | null Returns the base path.
getRefererId ( ) : string | null Returns the referer ID.
getRoute ( ) : string | null Returns the route.
handleRequestToken ( ) Handles the request token.
includeBasicClasses ( ) Includes the basic classes required for further processing.
includeHelpers ( ) Includes some helper files.
iniSet ( string $key, mixed $value ) Tries to set a php.ini configuration option.
initializeFramework ( ) Initializes the framework.
initializeLegacySessionAccess ( ) Initializes session access for $_SESSION['FE_DATA'] and $_SESSION['BE_DATA'].
setConstants ( ) Sets the Contao constants.
setDefaultLanguage ( ) Sets the default language.
setTimezone ( ) Sets the time zone.
triggerInitializeSystemHook ( ) Triggers the initializeSystem hook (see #5665).
validateInstallation ( ) Validates the installation.

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\Session\SessionInterface $session, string $rootDir, integer $errorLevel )
$requestStack Symfony\Component\HttpFoundation\RequestStack
$router Symfony\Component\Routing\RouterInterface
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$rootDir string
$errorLevel integer

createInstance() public method

public createInstance ( $class, $args = [] )

getAdapter() public method

public getAdapter ( $class )

initialize() public method

public initialize ( )

isInitialized() public method

public isInitialized ( )