PHP 클래스 Backend\Core\Engine\Action

..
상속: extends Backend\Core\Engine\Base\Object
파일 보기 프로젝트 열기: forkcms/forkcms

공개 프로퍼티들

프로퍼티 타입 설명
$tpl Backend\Core\Engine\Template BackendTemplate

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) You have to specify the action and module so we know what to do with this instance
execute ( ) Execute the action We will build the classname, require the class and call the execute method.
loadConfig ( ) Load the config file for the requested module.

메소드 상세

__construct() 공개 메소드

You have to specify the action and module so we know what to do with this instance
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface

execute() 공개 메소드

Execute the action We will build the classname, require the class and call the execute method.
public execute ( )

loadConfig() 공개 메소드

In the config file we have to find disabled actions, the constructor will read the folder and set possible actions Other configurations will be stored in it also.
public loadConfig ( )

프로퍼티 상세

$tpl 공개적으로 프로퍼티

BackendTemplate
public Template,Backend\Core\Engine $tpl
리턴 Backend\Core\Engine\Template