PHP Class gui\OsDetector

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

Méthodes publiques

Méthode 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 méthode

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

isMacOS() public static méthode

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

isUnix() public static méthode

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

isWindows() public static méthode

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