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

The module-specific config-files can extend the functionality from this class.
상속: extends KernelLoader
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultAction string The default action
$disabledAJAXActions array The disabled AJAX-actions
$disabledActions array The disabled actions
$module string The current loaded module
$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
getModule ( ) : string Get the current loaded module
getPossibleAJAXActions ( ) : array Get the possible AJAX actions
getPossibleActions ( ) : array Get the possible actions

보호된 메소드들

메소드 설명
setPossibleActions ( ) Set the possible actions, based on files in folder.

메소드 상세

__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

getModule() 공개 메소드

Get the current loaded module
public getModule ( ) : string
리턴 string

getPossibleAJAXActions() 공개 메소드

Get the possible AJAX actions
public getPossibleAJAXActions ( ) : array
리턴 array

getPossibleActions() 공개 메소드

Get the possible actions
public getPossibleActions ( ) : array
리턴 array

setPossibleActions() 보호된 메소드

You can disable action in the config file. (Populate $disabledActions)
protected setPossibleActions ( )

프로퍼티 상세

$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

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

The current loaded module
protected string $module
리턴 string

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

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

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

All the possible actions
protected array $possibleActions
리턴 array