Public Member Functions | |
| handlePropertySettingInTemplate ($fieldName, $propertyName, $isList, &$templateFields, $templateText) | |
| For a field name and its attached property name located in the template text, create an SFTemplateField object out of it, and add it to the $templateFields array. | |
| getAllFields () | |
| Get the fields of the template, along with the semantic property attached to each one (if any), by parsing the text of the template. | |
| getTemplateName () | |
| getFields () | |
| creationHTML ($template_num) | |
| createMarkup () | |
Static Public Member Functions | |
| static | create ($name, $label=null, $allowMultiple=null, $maxAllowed=null, $formFields=null) |
Private Attributes | |
| $mTemplateName | |
| $mLabel | |
| $mAllowMultiple | |
| $mMaxAllowed | |
| $mFields | |
Definition at line 8 of file SF_TemplateInForm.php.
| SFTemplateInForm::handlePropertySettingInTemplate | ( | $ | fieldName, | |
| $ | propertyName, | |||
| $ | isList, | |||
| &$ | templateFields, | |||
| $ | templateText | |||
| ) |
For a field name and its attached property name located in the template text, create an SFTemplateField object out of it, and add it to the $templateFields array.
Definition at line 20 of file SF_TemplateInForm.php.
References SFTemplateField::create().
Referenced by getAllFields().
| SFTemplateInForm::getAllFields | ( | ) |
Get the fields of the template, along with the semantic property attached to each one (if any), by parsing the text of the template.
Definition at line 31 of file SF_TemplateInForm.php.
References SFTemplateField::create(), and handlePropertySettingInTemplate().
| static SFTemplateInForm::create | ( | $ | name, | |
| $ | label = null, |
|||
| $ | allowMultiple = null, |
|||
| $ | maxAllowed = null, |
|||
| $ | formFields = null | |||
| ) | [static] |
Definition at line 133 of file SF_TemplateInForm.php.
References SFFormField::create().
Referenced by SFCreateForm::doSpecialCreateForm(), SFCreateClass::execute(), SFFormPrinter::formHTML(), and SFPageSchemas::generatePages().
| SFTemplateInForm::getTemplateName | ( | ) |
Definition at line 152 of file SF_TemplateInForm.php.
| SFTemplateInForm::getFields | ( | ) |
Definition at line 156 of file SF_TemplateInForm.php.
| SFTemplateInForm::creationHTML | ( | $ | template_num | ) |
| SFTemplateInForm::createMarkup | ( | ) |
Definition at line 187 of file SF_TemplateInForm.php.
SFTemplateInForm::$mTemplateName [private] |
Definition at line 9 of file SF_TemplateInForm.php.
SFTemplateInForm::$mLabel [private] |
Definition at line 10 of file SF_TemplateInForm.php.
SFTemplateInForm::$mAllowMultiple [private] |
Definition at line 11 of file SF_TemplateInForm.php.
SFTemplateInForm::$mMaxAllowed [private] |
Definition at line 12 of file SF_TemplateInForm.php.
SFTemplateInForm::$mFields [private] |
Definition at line 13 of file SF_TemplateInForm.php.
1.5.6