PHP Класс Frontend\Core\Engine\Base\Config

The module-specific config-files can extend the functionality from this class.
Наследование: extends KernelLoader
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

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