PHP Class Backend\Core\Engine\Base\Config

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

Protected Properties

Property 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

Public Methods

Method 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 method

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 method

Get the default action
public getDefaultAction ( ) : string
return string

getPossibleAJAXActions() public method

Get the possible AJAX actions
Deprecation:
public getPossibleAJAXActions ( ) : array
return array

getPossibleActionTypes() public method

public getPossibleActionTypes ( ) : array
return array

getPossibleActions() public method

Get the possible actions
Deprecation:
public getPossibleActions ( ) : array
return array

isActionAvailable() public method

public isActionAvailable ( string $action ) : boolean
$action string
return boolean

isActionDisabled() public method

public isActionDisabled ( string $actionType ) : boolean
$actionType string
return boolean

isActionFilePresent() public method

public isActionFilePresent ( string $actionType ) : boolean
$actionType string
return boolean

setModule() public method

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
return string

$disabledAJAXActions protected_oe property

The disabled AJAX-actions
protected array $disabledAJAXActions
return array

$disabledActions protected_oe property

The disabled actions
protected array $disabledActions
return array

$possibleAJAXActions protected_oe property

All the possible AJAX actions
protected array $possibleAJAXActions
return array

$possibleActions protected_oe property

All the possible actions
protected array $possibleActions
return array