PHP Class Frontend\Core\Engine\Ajax

Inheritance: extends KernelLoader, implements ApplicationInterface
Afficher le fichier Open project: forkcms/forkcms

Méthodes publiques

Méthode Description
display ( ) : Response
getAction ( ) : string Get the loaded action
getModule ( ) : string Get the loaded module
initialize ( ) This method exists because the service container needs to be set before the request's functionality gets loaded.
setAction ( string $value ) Set action
setLanguage ( string $value ) Set the language
setModule ( string $value ) Set module

Method Details

display() public méthode

public display ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response

getAction() public méthode

Get the loaded action
public getAction ( ) : string
Résultat string

getModule() public méthode

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

initialize() public méthode

This method exists because the service container needs to be set before the request's functionality gets loaded.
public initialize ( )

setAction() public méthode

Set action
public setAction ( string $value )
$value string The action that should be executed.

setLanguage() public méthode

Set the language
public setLanguage ( string $value )
$value string The (interface-)language, will be used to parse labels.

setModule() public méthode

Set module
public setModule ( string $value )
$value string The module, wherefore an action will be executed.