Nextcloud PHP API (master)

RedirectToDefaultAppResponse extends RedirectResponse
in package

Redirects to the default app

Tags
since
16.0.0
deprecated
23.0.0

Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead

template

S of int

template

H of array<string, mixed>

template-extends

RedirectResponse<int, array<string, mixed>>

Table of Contents

Properties

$redirectURL  : mixed

Methods

__construct()  : mixed
Creates a response that redirects to the default app
getRedirectURL()  : string

Properties

Methods

__construct()

Creates a response that redirects to the default app

public __construct([S $status = Http::STATUS_SEE_OTHER ][, H $headers = [] ]) : mixed
Parameters
$status : S = Http::STATUS_SEE_OTHER
$headers : H = []
Tags
since
16.0.0
deprecated
23.0.0

Use RedirectResponse() with IURLGenerator::linkToDefaultPageUrl() instead

getRedirectURL()

public getRedirectURL() : string
Tags
since
7.0.0
Return values
string

the url to redirect


        
On this page

Search results