Heratio Framework API Reference

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

__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
string

getModuleName()

public getModuleName() : string
Return values
string

getRoute()

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.

redirect()

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

        
On this page

Search results