PHP Класс Backend\Core\Engine\Action

..
Наследование: extends Backend\Core\Engine\Base\Object
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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