PHP Class WhichBrowser\Model\Os

Inheritance: extends WhichBrowser\Model\Primitive\NameVersion
Afficher le fichier Open project: whichbrowser/parser Class Usage Examples

Méthodes publiques

Свойство Type Description
$edition string
$family WhichBrowser\Model\Family To which family does this operating system belong
$hidden boolean

Méthodes publiques

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

Method Details

getFamily() public méthode

Return the name of the operating system family
public getFamily ( ) : string
Résultat string

isFamily() public méthode

Is the operating from the specified family
public isFamily ( string $name ) : boolean
$name string The name of the family
Résultat boolean

reset() public méthode

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() public méthode

Get an array of all defined properties
public toArray ( ) : array
Résultat array

toString() public méthode

Get the name and version in a human readable format
public toString ( ) : string
Résultat string

Property Details

$edition public_oe property

public string $edition
Résultat string

$family public_oe property

To which family does this operating system belong
public Family,WhichBrowser\Model $family
Résultat WhichBrowser\Model\Family

$hidden public_oe property

public bool $hidden
Résultat boolean