Class Widget extends Controller
Inheritance:
- System
- Controller
- Widget
/system/libraries/Widget.php line 40
Automatically extracted PHP DOC comment from code: END OF PHP DOC
Class Widget
Provide methods to handle form widgets.
Methods
- protected addSubmit()
- protected getPost(string $strKey)
- protected isChecked(array $arrOption)
- protected isSelected(array $arrOption)
- protected validator(mixed $varInput)
- public addAttributes(array $arrAttributes)
- public addError(string $strError)
- public generate()
- public generateLabel()
- public generateWithError(boolean $blnSwitchOrder)
- public getAttributes()
- public getErrorAsHTML(integer $intIndex)
- public getErrorAsString(integer $intIndex)
- public getErrors()
- public getErrorsAsString(string $strSeparator)
- public hasErrors()
- public parse(array $arrAttributes)
- public submitInput()
- public validate()
- public __construct(array $arrAttributes) overrides System::__construct()
- public __get(? $strKey)
- public __set(string $strKey, mixed $varValue)
Properties
- protected array $arrAttributes
- protected array $arrConfiguration
- protected array $arrErrors
- protected boolean $blnSubmitInput
- protected string $strClass
- protected integer $strId
- protected string $strLabel
- protected string $strName
- protected string $strTemplate
- protected string $strWizard
- protected mixed $varValue
Add a comment