Property | Type | Description | |
---|---|---|---|
$arrAvailableOptions | array | Available options | |
$blnSubmitInput | boolean | Submit user input | |
$strTemplate | string | Template |
Method | Description | |
---|---|---|
__set ( string $strKey, mixed $varValue ) | Add specific attributes | |
generate ( ) : string | Generate the widget and return it as string |
Method | Description | |
---|---|---|
isValidOption ( mixed $varInput ) : boolean | Check whether an input is one of the given options | |
validator ( mixed $varInput ) : mixed | Trim values |
protected isValidOption ( mixed $varInput ) : boolean | ||
$varInput | mixed | The input string or array |
return | boolean | True if the selected option exists |
protected array $arrAvailableOptions | ||
return | array |