Nextcloud PHP API (master)

IInstance

Provides some basic info about a remote Nextcloud instance

Tags
since
13.0.0
deprecated
23.0.0

Table of Contents

Methods

getFullUrl()  : string
getProtocol()  : string
getUrl()  : string
getVersion()  : string
isActive()  : bool
Check that the remote server is installed and not in maintenance mode

Methods

getFullUrl()

public getFullUrl() : string
Tags
since
13.0.0
deprecated
23.0.0
Return values
string

The of of the remote server with protocol

getProtocol()

public getProtocol() : string
Tags
since
13.0.0
deprecated
23.0.0
Return values
string

'http' or 'https'

getUrl()

public getUrl() : string
Tags
since
13.0.0
deprecated
23.0.0
Return values
string

The url of the remote server without protocol

getVersion()

public getVersion() : string
Tags
since
13.0.0
deprecated
23.0.0
Return values
string

The full version string in '13.1.2.3' format

isActive()

Check that the remote server is installed and not in maintenance mode

public isActive() : bool
Tags
since
13.0.0
deprecated
23.0.0
Return values
bool

        
On this page

Search results