PHP 클래스 Gui\Components\Option

부터: 0.1
저자: Alex Silva
파일 보기 프로젝트 열기: gabrielrcouto/php-gui

공개 메소드들

메소드 설명
__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