PHP 클래스 Backend\Core\Engine\Base\Config

저자: Tijs Verkoyen ([email protected])
상속: extends Object
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultAction string The default action
$disabledAJAXActions array The disabled AJAX-actions
$disabledActions array The disabled actions
$possibleAJAXActions array All the possible AJAX actions
$possibleActions array All the possible actions

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, string $module )
getDefaultAction ( ) : string Get the default action
getPossibleAJAXActions ( ) : array Get the possible AJAX actions
getPossibleActionTypes ( ) : array
getPossibleActions ( ) : array Get the possible actions
isActionAvailable ( string $action ) : boolean
isActionDisabled ( string $actionType ) : boolean
isActionFilePresent ( string $actionType ) : boolean
setModule ( string $module ) Set the module

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, string $module )
$kernel Symfony\Component\HttpKernel\KernelInterface
$module string The module wherefore this is the configuration-file.

getDefaultAction() 공개 메소드

Get the default action
public getDefaultAction ( ) : string
리턴 string

getPossibleAJAXActions() 공개 메소드

Get the possible AJAX actions
사용 중단:
public getPossibleAJAXActions ( ) : array
리턴 array

getPossibleActionTypes() 공개 메소드

public getPossibleActionTypes ( ) : array
리턴 array

getPossibleActions() 공개 메소드

Get the possible actions
사용 중단:
public getPossibleActions ( ) : array
리턴 array

isActionAvailable() 공개 메소드

public isActionAvailable ( string $action ) : boolean
$action string
리턴 boolean

isActionDisabled() 공개 메소드

public isActionDisabled ( string $actionType ) : boolean
$actionType string
리턴 boolean

isActionFilePresent() 공개 메소드

public isActionFilePresent ( string $actionType ) : boolean
$actionType string
리턴 boolean

setModule() 공개 메소드

We can't rely on the parent setModule function, because config could be called before any authentication is required.
public setModule ( string $module )
$module string The module to load.

프로퍼티 상세

$defaultAction 보호되어 있는 프로퍼티

The default action
protected string $defaultAction
리턴 string

$disabledAJAXActions 보호되어 있는 프로퍼티

The disabled AJAX-actions
protected array $disabledAJAXActions
리턴 array

$disabledActions 보호되어 있는 프로퍼티

The disabled actions
protected array $disabledActions
리턴 array

$possibleAJAXActions 보호되어 있는 프로퍼티

All the possible AJAX actions
protected array $possibleAJAXActions
리턴 array

$possibleActions 보호되어 있는 프로퍼티

All the possible actions
protected array $possibleActions
리턴 array