PHP 클래스 Sulu\Component\HttpKernel\SuluKernel

상속: extends Symfony\Component\HttpKernel\Kernel
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $environment, boolean $debug, string $suluContext = self::CONTEXT_ADMIN ) Overload the parent constructor method to add an additional constructor argument.

보호된 메소드들

메소드 설명
getContext ( ) Return the application context.
getKernelParameters ( )
setContext ( $context ) Set the context.

메소드 상세

__construct() 공개 메소드

public __construct ( string $environment, boolean $debug, string $suluContext = self::CONTEXT_ADMIN )
$environment string
$debug boolean
$suluContext string The Sulu context (self::CONTEXT_ADMIN, self::CONTEXT_WEBSITE)

getContext() 보호된 메소드

The context indicates to the runtime code which front controller has been accessed (e.g. website or admin)
protected getContext ( )

getKernelParameters() 보호된 메소드

protected getKernelParameters ( )

setContext() 보호된 메소드

Set the context.
protected setContext ( $context )