PHP Class Frontend\Core\Engine\Ajax

Inheritance: extends KernelLoader, implements ApplicationInterface
Datei anzeigen Open project: forkcms/forkcms

Public Methods

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

public display ( ) : Response
return Symfony\Component\HttpFoundation\Response

getAction() public method

Get the loaded action
public getAction ( ) : string
return string

getModule() public method

Get the loaded module
public getModule ( ) : string
return string

initialize() public method

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

setAction() public method

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

setLanguage() public method

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

setModule() public method

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