Form
- Namespace: \Redaxscript\Html
- Description: children class to create a form
- Package: Redaxscript
- Category: Html
- Author: Henry Ruhs
- Method: button
- Method: cancel
- Method: checkbox
- Method: color
- Method: date
- Method: datetime
- Method: email
- Method: file
- Method: hidden
- Method: number
- Method: password
- Method: radio
- Method: range
- Method: reset
- Method: search
- Method: submit
- Method: time
- Method: tel
- Method: text
- Method: url
- Method: week
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_registry | protected | ||
_language | protected | ||
_captcha | protected | ||
_languageArray | protected | ||
_attributeArray | protected | ||
_optionArray | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
__construct | public | constructor of the class |
__call | public | call method as needed |
__toString | public | stringify the form |
init | public | init the class |
legend | public | append the legend |
label | public | append the label |
textarea | public | append the textarea |
select | public | append the select |
selectRange | public | append the select range |
captcha | public | append the captcha |
token | public | append the token |
render | public | render the form |
_createInput | protected | create the input |
_createOption | protected | create the option |
_createButton | protected | create the button |
_createLink | protected | append the link |
html | public | set the html |
append | public | append to the html |
prepend | public | prepend to the html |
clear | public | clear the html |
Method | Visibility | Description |