![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| Dataface_ShortRelatedRecordForm (&$record, $relationshipName, $db='', $fieldNames=null) | |
| formSubmitted () | |
| & | getRecord () |
| _build () | |
| display () | |
| save ($values) | |
| getFormTemplate () | |
| getGroupTemplate ($name) | |
| validate () | |
Data Fields | |
| $_parentTable | |
| $_relationship | |
| $_relationshipName | |
| $_quickForms | |
| $_built | |
| $_db | |
| $_record | |
| $_relatedRecord | |
| $_renderer | |
| $_fieldNames | |
| $_groups = array() | |
Definition at line 38 of file ShortRelatedRecordForm.php.
| _build | ( | ) |
Builds the form.
Definition at line 187 of file ShortRelatedRecordForm.php.
| Dataface_ShortRelatedRecordForm | ( | &$ | record, |
| $ | relationshipName, | ||
| $ | db = '', |
||
| $ | fieldNames = null |
||
| ) |
Definition at line 107 of file ShortRelatedRecordForm.php.
| display | ( | ) |
Displays the form.
Definition at line 457 of file ShortRelatedRecordForm.php.
| formSubmitted | ( | ) |
Checks if the form has been submitted. This can be called even before the form has been built in static context.
Definition at line 154 of file ShortRelatedRecordForm.php.
| getFormTemplate | ( | ) |
Generates an html template that can be used by HTML_QuickForm to render the form.
Definition at line 641 of file ShortRelatedRecordForm.php.
| getGroupTemplate | ( | $ | name | ) |
Generates an html template that can be used by HTML_QuickForm to render groups of elements.
Definition at line 673 of file ShortRelatedRecordForm.php.
| & getRecord | ( | ) |
Loads the parent record for this form. This may be called in static context. This method is called in the constructor if no valid record is supplied.
Definition at line 162 of file ShortRelatedRecordForm.php.
| save | ( | $ | values | ) |
Saves the related record.
| values | Associative array of values received from the submitted form. |
Definition at line 474 of file ShortRelatedRecordForm.php.
| validate | ( | ) |
Definition at line 689 of file ShortRelatedRecordForm.php.
| $_built |
Definition at line 65 of file ShortRelatedRecordForm.php.
| $_db |
Definition at line 71 of file ShortRelatedRecordForm.php.
| $_fieldNames |
The field names to include in this form.
Definition at line 94 of file ShortRelatedRecordForm.php.
| $_groups = array() |
Field groups in form.
Definition at line 97 of file ShortRelatedRecordForm.php.
| $_parentTable |
Definition at line 44 of file ShortRelatedRecordForm.php.
| $_quickForms |
Definition at line 59 of file ShortRelatedRecordForm.php.
| $_record |
Definition at line 77 of file ShortRelatedRecordForm.php.
| $_relatedRecord |
Definition at line 83 of file ShortRelatedRecordForm.php.
| $_relationship |
Definition at line 50 of file ShortRelatedRecordForm.php.
| $_relationshipName |
Definition at line 56 of file ShortRelatedRecordForm.php.
| $_renderer |
Definition at line 89 of file ShortRelatedRecordForm.php.
1.7.4