PHP Class Gui\Components\Option

Since: 0.1
Author: Alex Silva
Afficher le fichier Open project: gabrielrcouto/php-gui

Méthodes publiques

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

public __construct ( $label, $value )

getLabel() public méthode

This method returns the instance Label
public getLabel ( ) : string
Résultat string

getValue() public méthode

This method returns the instance value
public getValue ( ) : integer
Résultat integer

setLabel() public méthode

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

setValue() public méthode

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