PHP Класс Gui\Components\Option

С версии: 0.1
Автор: Alex Silva
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $label, $value )
getLabel ( ) : string This method returns the instance Label
getValue ( ) : integer This method returns the instance value
setLabel ( string $label ) This method is used to set an string label for the object instance
setValue ( integer $value ) This method is used to set an integer value for the object instance

Описание методов

__construct() публичный Метод

public __construct ( $label, $value )

getLabel() публичный Метод

This method returns the instance Label
public getLabel ( ) : string
Результат string

getValue() публичный Метод

This method returns the instance value
public getValue ( ) : integer
Результат integer

setLabel() публичный Метод

This method is used to set an string label for the object instance
public setLabel ( string $label )
$label string

setValue() публичный Метод

This method is used to set an integer value for the object instance
public setValue ( integer $value )
$value integer