PHP Class Backend\Core\Engine\Action

..
Inheritance: extends Backend\Core\Engine\Base\Object
Datei anzeigen Open project: forkcms/forkcms

Public Properties

Property Type Description
$tpl Backend\Core\Engine\Template BackendTemplate

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

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

loadConfig() public method

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 ( )

Property Details

$tpl public_oe property

BackendTemplate
public Template,Backend\Core\Engine $tpl
return Backend\Core\Engine\Template