Nextcloud PHP API (master)

DataDisplayResponse extends Response
in package

Class DataDisplayResponse

Tags
since
8.1.0
template

S of int

template

H of array<string, mixed>

template-extends

Response<int, array<string, mixed>>

Table of Contents

Properties

$data  : string
response data

Methods

__construct()  : mixed
getData()  : string
Used to get the set parameters
render()  : string
Outputs data. No processing is done.
setData()  : DataDisplayResponse
Sets values in the data

Properties

Methods

__construct()

public __construct([string $data = '' ][, S $statusCode = Http::STATUS_OK ][, H $headers = [] ]) : mixed
Parameters
$data : string = ''

the data to display

$statusCode : S = Http::STATUS_OK

the Http status code, defaults to 200

$headers : H = []

additional key value based headers

Tags
since
8.1.0

getData()

Used to get the set parameters

public getData() : string
Tags
since
8.1.0
Return values
string

the data

render()

Outputs data. No processing is done.

public render() : string
Tags
since
8.1.0
Return values
string

        
On this page

Search results