Bitrix API

Command implements RestConvertible

Table of Contents

Interfaces

RestConvertible

Methods

__construct()  : mixed
cleanCache()  : void
getCommandList()  : array<string|int, mixed>
getRestEntityName()  : string
Returns the name of the entity that will be used in the rest response
toRestFormat()  : array<string|int, mixed>|null
Returns an array in JSON like format to return the entity as a rest response.

Methods

__construct()

public __construct(mixed $botId) : mixed
Parameters
$botId : mixed

cleanCache()

public static cleanCache(int $id) : void
Parameters
$id : int

getCommandList()

public getCommandList(mixed $id) : array<string|int, mixed>
Parameters
$id : mixed
Return values
array<string|int, mixed>

getRestEntityName()

Returns the name of the entity that will be used in the rest response

public static getRestEntityName() : string
Return values
string

toRestFormat()

Returns an array in JSON like format to return the entity as a rest response.

public toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
$option : array<string|int, mixed> = []
Return values
array<string|int, mixed>|null

        
On this page

Search results