PHP Class Backend\Core\Engine\Base\Config

Author: Tijs Verkoyen ([email protected])
Inheritance: extends Object
Afficher le fichier Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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() public méthode

Get the default action
public getDefaultAction ( ) : string
Résultat string

getPossibleAJAXActions() public méthode

Get the possible AJAX actions
Deprecation:
public getPossibleAJAXActions ( ) : array
Résultat array

getPossibleActionTypes() public méthode

public getPossibleActionTypes ( ) : array
Résultat array

getPossibleActions() public méthode

Get the possible actions
Deprecation:
public getPossibleActions ( ) : array
Résultat array

isActionAvailable() public méthode

public isActionAvailable ( string $action ) : boolean
$action string
Résultat boolean

isActionDisabled() public méthode

public isActionDisabled ( string $actionType ) : boolean
$actionType string
Résultat boolean

isActionFilePresent() public méthode

public isActionFilePresent ( string $actionType ) : boolean
$actionType string
Résultat boolean

setModule() public méthode

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.

Property Details

$defaultAction protected_oe property

The default action
protected string $defaultAction
Résultat string

$disabledAJAXActions protected_oe property

The disabled AJAX-actions
protected array $disabledAJAXActions
Résultat array

$disabledActions protected_oe property

The disabled actions
protected array $disabledActions
Résultat array

$possibleAJAXActions protected_oe property

All the possible AJAX actions
protected array $possibleAJAXActions
Résultat array

$possibleActions protected_oe property

All the possible actions
protected array $possibleActions
Résultat array