PHP Class gui\OsDetector

This class is used to check to current OS
Since: 0.1
Author: Gabriel Couto @gabrielrcouto
Mostra file Open project: gabrielrcouto/php-gui Class Usage Examples

Public Methods

Method Description
isFreeBSD ( ) : boolean This method is used to check if the current OS is FreeBSD
isMacOS ( ) : boolean This method is used to check if the current OS is MacOs
isUnix ( ) : boolean This method is used to check if the current OS is Unix
isWindows ( ) : boolean This method is used to check if the current OS is Windows

Method Details

isFreeBSD() public static method

This method is used to check if the current OS is FreeBSD
public static isFreeBSD ( ) : boolean
return boolean

isMacOS() public static method

This method is used to check if the current OS is MacOs
public static isMacOS ( ) : boolean
return boolean

isUnix() public static method

This method is used to check if the current OS is Unix
public static isUnix ( ) : boolean
return boolean

isWindows() public static method

This method is used to check if the current OS is Windows
public static isWindows ( ) : boolean
return boolean