PHP Class Pop\Web\Server

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP Class Usage Examples

Protected Properties

Свойство Type Description
$distro string Server Distribution
$linux boolean Linux flag
$mac boolean Mac flag
$os string Server OS
$php string PHP Version
$server string Server Software
$serverVersion string Server Software Version
$software string Full Server Software String
$unix boolean Unix flag
$windows boolean Windows flag

Méthodes publiques

Méthode Description
__construct ( ) : Server Constructor
getDistro ( ) : string Method to get distro
getOs ( ) : string Method to get OS
getPhp ( ) : string Method to get PHP version
getServer ( ) : string Method to get server
getServerVersion ( ) : string Method to get server version
getSoftware ( ) : string Method to get software
isLinux ( ) : boolean Method to get Linux flag
isMac ( ) : boolean Method to get Mac flag
isUnix ( ) : boolean Method to get Unix flag
isWindows ( ) : boolean Method to get Windows flag

Méthodes protégées

Méthode Description
detect ( ) : void Method to detect properties.

Method Details

__construct() public méthode

Instantiate the server session object.
public __construct ( ) : Server
Résultat Server

detect() protected méthode

Method to detect properties.
protected detect ( ) : void
Résultat void

getDistro() public méthode

Method to get distro
public getDistro ( ) : string
Résultat string

getOs() public méthode

Method to get OS
public getOs ( ) : string
Résultat string

getPhp() public méthode

Method to get PHP version
public getPhp ( ) : string
Résultat string

getServer() public méthode

Method to get server
public getServer ( ) : string
Résultat string

getServerVersion() public méthode

Method to get server version
public getServerVersion ( ) : string
Résultat string

getSoftware() public méthode

Method to get software
public getSoftware ( ) : string
Résultat string

isLinux() public méthode

Method to get Linux flag
public isLinux ( ) : boolean
Résultat boolean

isMac() public méthode

Method to get Mac flag
public isMac ( ) : boolean
Résultat boolean

isUnix() public méthode

Method to get Unix flag
public isUnix ( ) : boolean
Résultat boolean

isWindows() public méthode

Method to get Windows flag
public isWindows ( ) : boolean
Résultat boolean

Property Details

$distro protected_oe property

Server Distribution
protected string $distro
Résultat string

$linux protected_oe property

Linux flag
protected bool $linux
Résultat boolean

$mac protected_oe property

Mac flag
protected bool $mac
Résultat boolean

$os protected_oe property

Server OS
protected string $os
Résultat string

$php protected_oe property

PHP Version
protected string $php
Résultat string

$server protected_oe property

Server Software
protected string $server
Résultat string

$serverVersion protected_oe property

Server Software Version
protected string $serverVersion
Résultat string

$software protected_oe property

Full Server Software String
protected string $software
Résultat string

$unix protected_oe property

Unix flag
protected bool $unix
Résultat boolean

$windows protected_oe property

Windows flag
protected bool $windows
Résultat boolean