AirLay backend

HelpController extends ApiController
in package

Class ApiBaseController.

Table of Contents

$config  : AirlayConfig
$config  : AirlayConfig
$request  : Request
$user  : UserEntity
$status  : StatusPage|null
$tokenHandler  : TokenHandler|null
__destruct()  : mixed
addAction()  : 200
POST Action add help object
afterExecuteRoute()  : mixed
beforeExecuteRoute()  : mixed
getAction()  : 200
GET Action get help objects
indexAction()  : mixed
initialize()  : void
removeAction()  : 200
POST Action remove help object
updateAction()  : 200
POST Action update the help object
attachTmpFile()  : Response
firesAnRelationUpdateEvents()  : void
getId()  : mixed
getNormalizedUserId()  : int|ObjectId
getTranslator()  : NativeArray
getUserInfo()  : UserEntity
secureData()  : mixed
sendEmail()  : mixed

Properties

Methods

addAction()

POST Action add help object

public addAction() : 200
Tags
help

json help object

throws
AirlayException
Return values
200

Ok

afterExecuteRoute()

public afterExecuteRoute(Dispatcher $dispatcher) : mixed
Parameters
$dispatcher : Dispatcher
Return values
mixed

beforeExecuteRoute()

public beforeExecuteRoute(Dispatcher $dispatcher) : mixed
Parameters
$dispatcher : Dispatcher
Return values
mixed

getAction()

GET Action get help objects

public getAction() : 200
Return values
200

Ok json help objects

removeAction()

POST Action remove help object

public removeAction() : 200
Tags
helpObjectId

objectId help object id

throws
AirlayException
Return values
200

Ok

updateAction()

POST Action update the help object

public updateAction() : 200
Tags
helpObjectId

objectId help object id

help

json help object

throws
AirlayException
Return values
200

Ok

firesAnRelationUpdateEvents()

protected firesAnRelationUpdateEvents(array<string|int, mixed> $relations, ObjectId $dataSetId[, DataSetLogEntity|null $log = null ]) : void
Parameters
$relations : array<string|int, mixed>
$dataSetId : ObjectId
$log : DataSetLogEntity|null = null
Return values
void

getTranslator()

protected getTranslator([string|null $language = null ]) : NativeArray
Parameters
$language : string|null = null
Tags
throws
Exception
Return values
NativeArray

secureData()

protected secureData(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

sendEmail()

protected sendEmail(string $email, string $name, string $subject, string $body) : mixed
Parameters
$email : string
$name : string
$subject : string
$body : string
Return values
mixed

Search results