Bitrix API

StatisticController extends Base

Table of Contents

Methods

__construct()  : mixed
disableCheckPermissions()  : self
enableCheckPermissions()  : self
exec()  : mixed
Execute action, send json response
getResult()  : Result
isCheckPermissionsEnabled()  : bool
sendResponse()  : mixed
Send json response. If $result is empty - builds response based on $this->result
setAction()  : $this
Set current action of the controller.

Methods

__construct()

public __construct([HttpRequest $request = null ]) : mixed
Parameters
$request : HttpRequest = null

disableCheckPermissions()

public disableCheckPermissions() : self
Return values
self

enableCheckPermissions()

public enableCheckPermissions() : self
Return values
self

exec()

Execute action, send json response

public exec([bool $sendResponse = true ]) : mixed
Parameters
$sendResponse : bool = true

getResult()

public getResult() : Result
Return values
Result

isCheckPermissionsEnabled()

public isCheckPermissionsEnabled() : bool
Return values
bool

sendResponse()

Send json response. If $result is empty - builds response based on $this->result

public sendResponse([array<string|int, mixed> $result = array() ]) : mixed
Parameters
$result : array<string|int, mixed> = array()

setAction()

Set current action of the controller.

public setAction(string $action) : $this
Parameters
$action : string
Tags
throws
ArgumentNullException
throws
ArgumentTypeException
Return values
$this

        
On this page

Search results