Property | Type | Description | |
---|---|---|---|
$blnSubmitInput | boolean | Submit user input | |
$strError | string | Error message | |
$strPrefix | string | The CSS class prefix | |
$strTemplate | string | Template |
Method | Description | |
---|---|---|
__get ( string $strKey ) : mixed | Return a parameter | |
__set ( string $strKey, mixed $varValue ) | Add specific attributes | |
generate ( ) : string | Generate the widget and return it as string | |
generateWithError ( boolean $blnSwitchOrder = false ) : string | Override the parent method and inject the error message inside the fieldset (see #3392) | |
getAttributes ( array $arrStrip = [] ) : string | Return all attributes as string | |
validate ( ) | Check the options if the field is mandatory |
Method | Description | |
---|---|---|
getOptions ( ) : array | Generate the options |
public generateWithError ( boolean $blnSwitchOrder = false ) : string | ||
$blnSwitchOrder | boolean | If true, the error message will be shown below the field |
return | string | The form field markup |
public getAttributes ( array $arrStrip = [] ) : string | ||
$arrStrip | array | An optional array with attributes to strip |
return | string | The attributes string |
protected getOptions ( ) : array | ||
return | array | The options array |
protected bool $blnSubmitInput | ||
return | boolean |