Nextcloud PHP API (master)

FileDisplayResponse extends Response
in package
implements ICallbackResponse

Class FileDisplayResponse

Tags
since
11.0.0
template

S of int

template

H of array<string, mixed>

template-extends

Response<int, array<string, mixed>>

Table of Contents

Interfaces

ICallbackResponse
Interface ICallbackResponse

Properties

$file  : File|ISimpleFile

Methods

__construct()  : mixed
FileDisplayResponse constructor.
callback()  : mixed
Outputs the content that should be printed

Properties

Methods

__construct()

FileDisplayResponse constructor.

public __construct(File|ISimpleFile $file[, S $statusCode = Http::STATUS_OK ][, H $headers = [] ]) : mixed
Parameters
$file : File|ISimpleFile
$statusCode : S = Http::STATUS_OK
$headers : H = []
Tags
since
11.0.0

        
On this page

Search results