Свойство | Тип | Описание | |
---|---|---|---|
$blnSubmitInput | boolean | Submit user input | |
$strError | string | Error message | |
$strPrefix | string | The CSS class prefix | |
$strTemplate | string | Template |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
getOptions ( ) : array | Generate the options |
public generateWithError ( boolean $blnSwitchOrder = false ) : string | ||
$blnSwitchOrder | boolean | If true, the error message will be shown below the field |
Результат | string | The form field markup |
public getAttributes ( array $arrStrip = [] ) : string | ||
$arrStrip | array | An optional array with attributes to strip |
Результат | string | The attributes string |
protected getOptions ( ) : array | ||
Результат | array | The options array |
protected bool $blnSubmitInput | ||
Результат | boolean |