Bitrix API

Response extends Result

AbstractYes

Class Response

Table of Contents

Constants

TYPE_CODE  = ''

Methods

__construct()  : mixed
Response constructor.
create()  : static
getRequest()  : Request|null
getResponseText()  : mixed
parse()  : mixed
setData()  : Result|void
setRequest()  : Request
setResponseText()  : mixed

Constants

Methods

__construct()

Response constructor.

public __construct() : mixed

create()

public static create(mixed $type) : static
Parameters
$type : mixed
Tags
throws
ArgumentOutOfRangeException
Return values
static

getResponseText()

public getResponseText() : mixed

parse()

public abstract parse(mixed $data) : mixed
Parameters
$data : mixed

setData()

public setData(array<string|int, mixed> $data) : Result|void
Parameters
$data : array<string|int, mixed>
Return values
Result|void

setResponseText()

public setResponseText(mixed $responseText) : mixed
Parameters
$responseText : mixed

        
On this page

Search results