Inheritance diagram for libAllure\util\FormRegister:Public Member Functions | |
| addButtons ($buttonMask) | |
| addDefaultButtons ($title=null) | |
| addElement (Element $el) | |
| addElementDetached (Element $el) | |
| addElementGroup (array $elementList) | |
| addElementHidden ($name, $value) | |
| addElementReadOnly ($title, $value, $roElementName=null) | |
| addScript ($s) | |
| addSection ($sectionTitle) | |
| bindElementToStatement (&$stmt, $elementName, $parameterName=null) | |
| bindStatementValues (&$stmt, $names) | |
| getAction () | |
| getAllElementValues () | |
| getElement ($name) | |
| getElements () | |
| getElementValue ($elementName) | |
| getEnctype () | |
| getName () | |
| getScripts () | |
| getTitle () | |
| isSubmitted () | |
| orderElements () | |
| process () | |
| requireFields () | |
| reset () | |
| setAllElementValues ($values) | |
| setElementError ($el, $err) | |
| setFullyQualifiedElementNames ($newVal) | |
| setTitle ($title) | |
| validate () | |
| validateExtended () | |
Static Public Member Functions | |
| static | strToForm ($s) |
Public Attributes | |
| $scripts = array() | |
| const | BTN_LOGIN = 1 |
| const | BTN_RESET = 2 |
| const | BTN_SUBMIT = 4 |
Static Public Attributes | |
| static | $fullyQualifiedElementNames = true |
| static | $registeredForms = array() |
Protected Attributes | |
| $elements = array() | |
| $enctype = 'multipart/form-data' | |
|
inherited |
A simple function to add buttons to a form. Buttons are specified as a bitmask, the values for which should be defined at the top of this file.
|
inherited |
Encapsulate a string within <script> tags and dump it at the bottom of the form.
| libAllure\util\FormRegister::process | ( | ) |
Reimplemented from libAllure\Form.
|
finalinherited |
This will not reset element groups or hidden elements.
| libAllure\util\FormRegister::validateExtended | ( | ) |
Reimplemented from libAllure\Form.