PHP Class PHPRtfLite_FormField_Checkbox

Author: Steffen Zeidler ([email protected])
Inheritance: extends PHPRtfLite_FormField
显示文件 Open project: phprtflite/phprtflite

Public Methods

Method Description
setChecked ( ) sets checkbox to be set
setDefaultValue ( boolean $value ) sets default value
setSize ( integer $size ) sets size of checkbox

Protected Methods

Method Description
getRtfCode ( ) : string gets checkbox rtf code
getType ( ) : string gets form field type

Method Details

getRtfCode() protected method

gets checkbox rtf code
protected getRtfCode ( ) : string
return string

getType() protected method

gets form field type
protected getType ( ) : string
return string

setChecked() public method

sets checkbox to be set
public setChecked ( )

setDefaultValue() public method

sets default value
public setDefaultValue ( boolean $value )
$value boolean

setSize() public method

sets size of checkbox
public setSize ( integer $size )
$size integer