PHP Класс WhichBrowser\Model\Os

Наследование: extends WhichBrowser\Model\Primitive\NameVersion
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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