Public Member Functions | |
| getTemplateField () | |
| getInputType () | |
| isMandatory () | |
| isHidden () | |
| isList () | |
| getInputName () | |
| isDisabled () | |
| setTemplateField ($templateField) | |
| setInputType ($inputType) | |
| setIsMandatory ($isMandatory) | |
| setIsHidden ($isHidden) | |
| setIsRestricted ($isRestricted) | |
| setFieldArg ($key, $value) | |
| inputTypeDropdownHTML ($field_form_text, $default_input_type, $possible_input_types, $cur_input_type) | |
| creationHTML ($template_num) | |
| createMarkup ($part_of_multiple, $is_last_field_in_template) | |
| getArgumentsForInputCall ($default_args=null) | |
| Since Semantic Forms uses a hook system for the functions that create HTML inputs, most arguments are contained in the "$other_args" array - create this array, using the attributes of this form field and the template field it corresponds to, if any. | |
Static Public Member Functions | |
| static | create ($num, $template_field) |
| static | createFromDefinition ($fieldName, $inputName, $isMandatory, $isHidden, $isUploadable, $possibleValues, $isDisabled, $isList, $inputType, $fieldArgs, $allFields, $strictParsing) |
Public Attributes | |
| $template_field | |
Private Attributes | |
| $mNum | |
| $mInputType | |
| $mIsMandatory | |
| $mIsHidden | |
| $mIsRestricted | |
| $mPossibleValues | |
| $mIsList | |
| $mIsUploadable | |
| $mFieldArgs | |
| $mInputName | |
| $mIsDisabled | |
Definition at line 15 of file SF_FormField.php.
| static SFFormField::create | ( | $ | num, | |
| $ | template_field | |||
| ) | [static] |
Definition at line 36 of file SF_FormField.php.
References $template_field.
Referenced by SFTemplateInForm::create(), and SFPageSchemas::getFormFieldInfo().
| static SFFormField::createFromDefinition | ( | $ | fieldName, | |
| $ | inputName, | |||
| $ | isMandatory, | |||
| $ | isHidden, | |||
| $ | isUploadable, | |||
| $ | possibleValues, | |||
| $ | isDisabled, | |||
| $ | isList, | |||
| $ | inputType, | |||
| $ | fieldArgs, | |||
| $ | allFields, | |||
| $ | strictParsing | |||
| ) | [static] |
| SFFormField::getTemplateField | ( | ) |
Definition at line 90 of file SF_FormField.php.
| SFFormField::getInputType | ( | ) |
| SFFormField::isMandatory | ( | ) |
Definition at line 98 of file SF_FormField.php.
| SFFormField::isHidden | ( | ) |
Definition at line 102 of file SF_FormField.php.
| SFFormField::isList | ( | ) |
| SFFormField::getInputName | ( | ) |
Definition at line 110 of file SF_FormField.php.
| SFFormField::isDisabled | ( | ) |
Definition at line 114 of file SF_FormField.php.
| SFFormField::setTemplateField | ( | $ | templateField | ) |
Definition at line 118 of file SF_FormField.php.
| SFFormField::setInputType | ( | $ | inputType | ) |
Definition at line 122 of file SF_FormField.php.
| SFFormField::setIsMandatory | ( | $ | isMandatory | ) |
Definition at line 126 of file SF_FormField.php.
| SFFormField::setIsHidden | ( | $ | isHidden | ) |
Definition at line 130 of file SF_FormField.php.
| SFFormField::setIsRestricted | ( | $ | isRestricted | ) |
Definition at line 134 of file SF_FormField.php.
| SFFormField::setFieldArg | ( | $ | key, | |
| $ | value | |||
| ) |
Definition at line 138 of file SF_FormField.php.
| SFFormField::inputTypeDropdownHTML | ( | $ | field_form_text, | |
| $ | default_input_type, | |||
| $ | possible_input_types, | |||
| $ | cur_input_type | |||
| ) |
| SFFormField::creationHTML | ( | $ | template_num | ) |
Definition at line 169 of file SF_FormField.php.
References $template_field, END, getInputType(), inputTypeDropdownHTML(), isList(), SFUtils::linkText(), and SFCreateForm::showInputTypeOptions().
| SFFormField::createMarkup | ( | $ | part_of_multiple, | |
| $ | is_last_field_in_template | |||
| ) |
| SFFormField::getArgumentsForInputCall | ( | $ | default_args = null |
) |
Since Semantic Forms uses a hook system for the functions that create HTML inputs, most arguments are contained in the "$other_args" array - create this array, using the attributes of this form field and the template field it corresponds to, if any.
Definition at line 312 of file SF_FormField.php.
SFFormField::$mNum [private] |
Definition at line 16 of file SF_FormField.php.
| SFFormField::$template_field |
SFFormField::$mInputType [private] |
Definition at line 18 of file SF_FormField.php.
SFFormField::$mIsMandatory [private] |
Definition at line 19 of file SF_FormField.php.
SFFormField::$mIsHidden [private] |
Definition at line 20 of file SF_FormField.php.
SFFormField::$mIsRestricted [private] |
Definition at line 21 of file SF_FormField.php.
SFFormField::$mPossibleValues [private] |
Definition at line 22 of file SF_FormField.php.
SFFormField::$mIsList [private] |
Definition at line 23 of file SF_FormField.php.
SFFormField::$mIsUploadable [private] |
Definition at line 26 of file SF_FormField.php.
SFFormField::$mFieldArgs [private] |
Definition at line 27 of file SF_FormField.php.
SFFormField::$mInputName [private] |
Definition at line 33 of file SF_FormField.php.
SFFormField::$mIsDisabled [private] |
Definition at line 34 of file SF_FormField.php.
1.5.6