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

Автор: Tijs Verkoyen ([email protected])
Наследование: extends Object
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$defaultAction string The default action
$disabledAJAXActions array The disabled AJAX-actions
$disabledActions array The disabled actions
$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
getPossibleAJAXActions ( ) : array Get the possible AJAX actions
getPossibleActionTypes ( ) : array
getPossibleActions ( ) : array Get the possible actions
isActionAvailable ( string $action ) : boolean
isActionDisabled ( string $actionType ) : boolean
isActionFilePresent ( string $actionType ) : boolean
setModule ( string $module ) Set the module

Описание методов

__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

getPossibleAJAXActions() публичный Метод

Get the possible AJAX actions
Устаревший:
public getPossibleAJAXActions ( ) : array
Результат array

getPossibleActionTypes() публичный Метод

public getPossibleActionTypes ( ) : array
Результат array

getPossibleActions() публичный Метод

Get the possible actions
Устаревший:
public getPossibleActions ( ) : array
Результат array

isActionAvailable() публичный Метод

public isActionAvailable ( string $action ) : boolean
$action string
Результат boolean

isActionDisabled() публичный Метод

public isActionDisabled ( string $actionType ) : boolean
$actionType string
Результат boolean

isActionFilePresent() публичный Метод

public isActionFilePresent ( string $actionType ) : boolean
$actionType string
Результат boolean

setModule() публичный Метод

We can't rely on the parent setModule function, because config could be called before any authentication is required.
public setModule ( string $module )
$module string The module to load.

Описание свойств

$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

$possibleAJAXActions защищенное свойство

All the possible AJAX actions
protected array $possibleAJAXActions
Результат array

$possibleActions защищенное свойство

All the possible actions
protected array $possibleActions
Результат array