PHP 클래스 Pop\Web\Server

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
detect ( ) : void Method to detect properties.

메소드 상세

__construct() 공개 메소드

Instantiate the server session object.
public __construct ( ) : Server
리턴 Server

detect() 보호된 메소드

Method to detect properties.
protected detect ( ) : void
리턴 void

getDistro() 공개 메소드

Method to get distro
public getDistro ( ) : string
리턴 string

getOs() 공개 메소드

Method to get OS
public getOs ( ) : string
리턴 string

getPhp() 공개 메소드

Method to get PHP version
public getPhp ( ) : string
리턴 string

getServer() 공개 메소드

Method to get server
public getServer ( ) : string
리턴 string

getServerVersion() 공개 메소드

Method to get server version
public getServerVersion ( ) : string
리턴 string

getSoftware() 공개 메소드

Method to get software
public getSoftware ( ) : string
리턴 string

isLinux() 공개 메소드

Method to get Linux flag
public isLinux ( ) : boolean
리턴 boolean

isMac() 공개 메소드

Method to get Mac flag
public isMac ( ) : boolean
리턴 boolean

isUnix() 공개 메소드

Method to get Unix flag
public isUnix ( ) : boolean
리턴 boolean

isWindows() 공개 메소드

Method to get Windows flag
public isWindows ( ) : boolean
리턴 boolean

프로퍼티 상세

$distro 보호되어 있는 프로퍼티

Server Distribution
protected string $distro
리턴 string

$linux 보호되어 있는 프로퍼티

Linux flag
protected bool $linux
리턴 boolean

$mac 보호되어 있는 프로퍼티

Mac flag
protected bool $mac
리턴 boolean

$os 보호되어 있는 프로퍼티

Server OS
protected string $os
리턴 string

$php 보호되어 있는 프로퍼티

PHP Version
protected string $php
리턴 string

$server 보호되어 있는 프로퍼티

Server Software
protected string $server
리턴 string

$serverVersion 보호되어 있는 프로퍼티

Server Software Version
protected string $serverVersion
리턴 string

$software 보호되어 있는 프로퍼티

Full Server Software String
protected string $software
리턴 string

$unix 보호되어 있는 프로퍼티

Unix flag
protected bool $unix
리턴 boolean

$windows 보호되어 있는 프로퍼티

Windows flag
protected bool $windows
리턴 boolean