PHP 클래스 Contao\CoreBundle\Framework\ContaoFramework

상속: implements Contao\CoreBundle\Framework\ContaoFrameworkInterface, use trait ScopeAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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 ( )

비공개 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

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 createInstance ( $class, $args = [] )

getAdapter() 공개 메소드

public getAdapter ( $class )

initialize() 공개 메소드

public initialize ( )

isInitialized() 공개 메소드

public isInitialized ( )