AhgControllerBase
in package
Table of Contents
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- __set() : void
- forward() : void
- forward404() : void
- getActionName() : string
- getContext() : SfContextAdapter|null
- getModuleName() : string
- getRequest() : SfWebRequestAdapter|null
- getResponse() : SfResponseAdapter
- getRoute() : mixed
- Get the matched route object (Symfony compatibility).
- getUser() : SfUserAdapter
- redirect() : void
- renderText() : mixed
- setTemplate() : void
Methods
__construct()
public
__construct() : mixed
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__set()
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
forward()
public
forward(string $module, string $action) : void
Parameters
- $module : string
- $action : string
forward404()
public
forward404([string|null $message = null ]) : void
Parameters
- $message : string|null = null
getActionName()
public
getActionName() : string
Return values
stringgetContext()
public
getContext() : SfContextAdapter|null
Return values
SfContextAdapter|nullgetModuleName()
public
getModuleName() : string
Return values
stringgetRequest()
public
getRequest() : SfWebRequestAdapter|null
Return values
SfWebRequestAdapter|nullgetResponse()
public
getResponse() : SfResponseAdapter
Return values
SfResponseAdaptergetRoute()
Get the matched route object (Symfony compatibility).
public
getRoute() : mixed
In Symfony mode, sfActions::getRoute() returns the matched QubitRoute with a ->resource property. In standalone mode, the ActionBridge stores the route as a request attribute.
getUser()
public
getUser() : SfUserAdapter
Return values
SfUserAdapterredirect()
public
redirect(mixed $url) : void
Parameters
- $url : mixed
renderText()
public
renderText(mixed $text) : mixed
Parameters
- $text : mixed
setTemplate()
public
setTemplate(string $name) : void
Parameters
- $name : string