Bitrix API

Controller implements IErrorable

AbstractYes

Class Controller

Table of Contents

Interfaces

IErrorable

Constants

ERROR_REQUIRED_PARAMETER  = 'LISTS_CONTROLLER_22001'
ERROR_UNKNOWN_ACTION  = 'LISTS_CONTROLLER_22002'
STATUS_COMPLETED  = 'completed'
STATUS_DENIED  = 'denied'
STATUS_ERROR  = 'error'
STATUS_INVALID_SIGN  = 'invalid_sign'
STATUS_NEED_AUTH  = 'need_auth'
STATUS_PROCESSING  = 'processing'
STATUS_SUCCESS  = 'success'

Methods

__construct()  : mixed
exec()  : mixed
getAction()  : string
getActionDescription()  : array<string|int, mixed>
getErrorByCode()  : array<string|int, Error>
Getting once error with the necessary code.
getErrors()  : array<string|int, Error>
Getting array of errors.
getErrorsByCode()  : array<string|int, Error>
Getting array of errors with the necessary code.
setAction()  : $this
setActionName()  : $this

Constants

ERROR_REQUIRED_PARAMETER

public mixed ERROR_REQUIRED_PARAMETER = 'LISTS_CONTROLLER_22001'

ERROR_UNKNOWN_ACTION

public mixed ERROR_UNKNOWN_ACTION = 'LISTS_CONTROLLER_22002'

STATUS_COMPLETED

public mixed STATUS_COMPLETED = 'completed'

STATUS_DENIED

public mixed STATUS_DENIED = 'denied'

STATUS_ERROR

public mixed STATUS_ERROR = 'error'

STATUS_INVALID_SIGN

public mixed STATUS_INVALID_SIGN = 'invalid_sign'

STATUS_NEED_AUTH

public mixed STATUS_NEED_AUTH = 'need_auth'

STATUS_PROCESSING

public mixed STATUS_PROCESSING = 'processing'

STATUS_SUCCESS

public mixed STATUS_SUCCESS = 'success'

Methods

getAction()

public getAction() : string
Return values
string

getActionDescription()

public getActionDescription() : array<string|int, mixed>
Return values
array<string|int, mixed>

getErrorByCode()

Getting once error with the necessary code.

public getErrorByCode(mixed $code) : array<string|int, Error>
Parameters
$code : mixed

Code of error.

Tags
inheritdoc
Return values
array<string|int, Error>

getErrors()

Getting array of errors.

public getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

getErrorsByCode()

Getting array of errors with the necessary code.

public getErrorsByCode(mixed $code) : array<string|int, Error>
Parameters
$code : mixed

Code of error.

Tags
inheritdoc
Return values
array<string|int, Error>

setAction()

public setAction(string $action, array<string|int, mixed> $description) : $this
Parameters
$action : string
$description : array<string|int, mixed>
Return values
$this

setActionName()

public setActionName(string $action) : $this
Parameters
$action : string
Return values
$this

        
On this page

Search results