Bitrix API

Response

AbstractYes

Table of Contents

Methods

__construct()  : mixed
appendContent()  : $this
Appends content.
clear()  : mixed
flush()  : mixed
getContent()  : string
Returns content of response.
send()  : void
Sends content to the output.
setContent()  : $this
Sets content.

Methods

__construct()

public __construct() : mixed

appendContent()

Appends content.

public appendContent(mixed $content) : $this

Valid types are strings, numbers, null, and objects that implement a __toString() method.

Parameters
$content : mixed

Content that can be cast to string.

Tags
throws
ArgumentTypeException
Return values
$this

flush()

public flush([mixed $text = '' ]) : mixed
Parameters
$text : mixed = ''

getContent()

Returns content of response.

public getContent() : string
Return values
string

send()

Sends content to the output.

public send() : void

setContent()

Sets content.

public setContent(mixed $content) : $this

Valid types are strings, numbers, null, and objects that implement a __toString() method.

Parameters
$content : mixed

Content that can be cast to string.

Tags
throws
ArgumentTypeException
Return values
$this

        
On this page

Search results