PHP 클래스 WhichBrowser\Model\Os

상속: extends WhichBrowser\Model\Primitive\NameVersion
파일 보기 프로젝트 열기: whichbrowser/parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$edition string
$family WhichBrowser\Model\Family To which family does this operating system belong
$hidden boolean

공개 메소드들

메소드 설명
getFamily ( ) : string Return the name of the operating system family
isFamily ( string $name ) : boolean Is the operating from the specified family
reset ( array | null $properties = null ) Set the properties to the default values
toArray ( ) : array Get an array of all defined properties
toString ( ) : string Get the name and version in a human readable format

메소드 상세

getFamily() 공개 메소드

Return the name of the operating system family
public getFamily ( ) : string
리턴 string

isFamily() 공개 메소드

Is the operating from the specified family
public isFamily ( string $name ) : boolean
$name string The name of the family
리턴 boolean

reset() 공개 메소드

Set the properties to the default values
public reset ( array | null $properties = null )
$properties array | null An optional array of properties to set after setting it to the default values

toArray() 공개 메소드

Get an array of all defined properties
public toArray ( ) : array
리턴 array

toString() 공개 메소드

Get the name and version in a human readable format
public toString ( ) : string
리턴 string

프로퍼티 상세

$edition 공개적으로 프로퍼티

public string $edition
리턴 string

$family 공개적으로 프로퍼티

To which family does this operating system belong
public Family,WhichBrowser\Model $family
리턴 WhichBrowser\Model\Family

$hidden 공개적으로 프로퍼티

public bool $hidden
리턴 boolean