Instance

class OC\Remote\Instance
Provides some basic info about a remote Nextcloud instance
Source:lib/private/Remote/Instance.php#34
Implements:OCP\Remote\IInstance

Properties

Methods

public OC\Remote\Instance::__construct($url, $cache, $clientService)
Source:

lib/private/Remote/Instance.php#52

Parameters:
public OC\Remote\Instance::getUrl()
Source:lib/private/Remote/Instance.php#62
Returns:string The url of the remote server without protocol
public OC\Remote\Instance::getFullUrl()
Source:lib/private/Remote/Instance.php#69
Returns:string The of of the remote server with protocol
public OC\Remote\Instance::getVersion()
Source:lib/private/Remote/Instance.php#76
Returns:string The full version string in ‘13.1.2.3’ format
public OC\Remote\Instance::getProtocol()
Source:lib/private/Remote/Instance.php#84
Returns:string ‘http’ or ‘https’
public OC\Remote\Instance::isActive()
Check that the remote server is installed and not in maintenance mode
Source:lib/private/Remote/Instance.php#94
Returns:bool