PHP 클래스 Backend\Core\Engine\Cronjob

상속: extends Backend\Core\Engine\Base\Object, implements ApplicationInterface
파일 보기 프로젝트 열기: forkcms/forkcms

공개 메소드들

메소드 설명
display ( ) : Response
getLanguage ( ) : string Get language
initialize ( ) This method exists because the service container needs to be set before the page's functionality gets loaded.
loadConfig ( ) Load the config file for the requested module.
setAction ( string $action, string $module = null ) Set the action
setLanguage ( string $value ) Set language
setModule ( string $module ) Set the module

보호된 메소드들

메소드 설명
execute ( ) Execute the action We will build the classname, require the class and call the execute method.

메소드 상세

display() 공개 메소드

public display ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response

execute() 보호된 메소드

Execute the action We will build the classname, require the class and call the execute method.
protected execute ( )

getLanguage() 공개 메소드

Get language
public getLanguage ( ) : string
리턴 string

initialize() 공개 메소드

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

loadConfig() 공개 메소드

In the config file we have to find disabled actions, the constructor will read the folder and set possible actions Other configurations will be stored in it also.
public loadConfig ( )

setAction() 공개 메소드

We can't rely on the parent setModule function, because a cronjob requires no login
public setAction ( string $action, string $module = null )
$action string The action to load.
$module string The module to load.

setLanguage() 공개 메소드

Set language
public setLanguage ( string $value )
$value string The language to load.

setModule() 공개 메소드

We can't rely on the parent setModule function, because a cronjob requires no login
public setModule ( string $module )
$module string The module to load.