PHP Class Contao\CheckBox

Inheritance: extends Widget
Show file Open project: contao/core-bundle

Protected Properties

Property Type Description
$blnSubmitInput boolean Submit user input
$strTemplate string Template

Public Methods

Method Description
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string
validate ( ) Check for a valid option (see #4383)

Protected Methods

Method Description
generateCheckbox ( array $arrOption, integer $i ) : string Generate a checkbox and return it as string

Method Details

__set() public method

Add specific attributes
public __set ( string $strKey, mixed $varValue )
$strKey string
$varValue mixed

generate() public method

Generate the widget and return it as string
public generate ( ) : string
return string

generateCheckbox() protected method

Generate a checkbox and return it as string
protected generateCheckbox ( array $arrOption, integer $i ) : string
$arrOption array
$i integer
return string

validate() public method

Check for a valid option (see #4383)
public validate ( )

Property Details

$blnSubmitInput protected property

Submit user input
protected bool $blnSubmitInput
return boolean

$strTemplate protected property

Template
protected string $strTemplate
return string