PHP Class Frontend\Core\Engine\Base\Config

The module-specific config-files can extend the functionality from this class.
Inheritance: extends KernelLoader
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
$module string The current loaded module
$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
getModule ( ) : string Get the current loaded module
getPossibleAJAXActions ( ) : array Get the possible AJAX actions
getPossibleActions ( ) : array Get the possible actions

Méthodes protégées

Méthode Description
setPossibleActions ( ) Set the possible actions, based on files in folder.

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

getModule() public méthode

Get the current loaded module
public getModule ( ) : string
Résultat string

getPossibleAJAXActions() public méthode

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

getPossibleActions() public méthode

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

setPossibleActions() protected méthode

You can disable action in the config file. (Populate $disabledActions)
protected setPossibleActions ( )

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

$module protected_oe property

The current loaded module
protected string $module
Résultat string

$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