Platform¶
-
class
OC\App\Platform¶ - Class PlatformThis class basically abstracts any kind of information which can be retrieved from the underlying system.
Source: lib/private/App/Platform.php#38
Methods¶
-
public
OC\App\Platform::__construct($config)¶ Source: Parameters: - $config (
OCP\IConfig)
- $config (
-
public
OC\App\Platform::getPhpVersion()¶ Source: lib/private/App/Platform.php#50 Returns: string
-
public
OC\App\Platform::getIntSize()¶ Source: lib/private/App/Platform.php#57 Returns: int
-
public
OC\App\Platform::getOcVersion()¶ Source: lib/private/App/Platform.php#64 Returns: string
-
public
OC\App\Platform::getDatabase()¶ Source: lib/private/App/Platform.php#72 Returns: string
-
public
OC\App\Platform::getOS()¶ Source: lib/private/App/Platform.php#84 Returns: string
-
public
OC\App\Platform::isCommandKnown($command)¶ Source: Parameters: - $command
Returns: bool
-
public
OC\App\Platform::getLibraryVersion($name)¶ Source: lib/private/App/Platform.php#97
-
public
OC\App\Platform::getArchitecture()¶ Source: lib/private/App/Platform.php#102