Documentation

Controller
in package

Base class to handle communication via web services.

Table of Contents

$app  : array<string|int, mixed>
$headers  : array<string|int, mixed>
$method  : string
$request  : Request
$response  : Response
$actionHandler  : BaseAction
$instance  : self
__construct()  : mixed
Construct.
debugRequest()  : void
Debug request function.
errorHandler()  : void
Exception error handler function.
getInstance()  : self
Get controller instance.
handleError()  : void
Handle error function.
postProcess()  : void
Post process function.
preProcess()  : bool
Pre process function.
process()  : void
Process function.
getActionClassName()  : string
Get action class name.

Properties

$app

public array<string|int, mixed> $app

Current server details (w_#__servers).

$headers

public array<string|int, mixed> $headers

Headers.

Methods

__construct()

Construct.

public __construct() : mixed
Return values
mixed

debugRequest()

Debug request function.

public debugRequest() : void
Return values
void

getInstance()

Get controller instance.

public static getInstance() : self
Return values
self

handleError()

Handle error function.

public handleError(Throwable $e) : void
Parameters
$e : Throwable
Return values
void

postProcess()

Post process function.

public postProcess() : void
Return values
void

preProcess()

Pre process function.

public preProcess() : bool
Tags
throws
Exception
Return values
bool

process()

Process function.

public process() : void
Tags
throws
Exception
Return values
void

getActionClassName()

Get action class name.

private getActionClassName() : string
Tags
throws
Exception
Return values
string

        

Search results