PHP Class Gui\Components\Option

Since: 0.1
Author: Alex Silva
Datei anzeigen Open project: gabrielrcouto/php-gui

Public Methods

Method Description
__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

Method Details

__construct() public method

public __construct ( $label, $value )

getLabel() public method

This method returns the instance Label
public getLabel ( ) : string
return string

getValue() public method

This method returns the instance value
public getValue ( ) : integer
return integer

setLabel() public method

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

setValue() public method

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