Public Member Functions | |
| __construct () | |
| Constructor. | |
| execute ($query) | |
| doSpecialCreateForm () | |
Static Public Member Functions | |
| static | inputTypeParamInput ($type, $paramName, $cur_value, array $param, array $paramValues, $fieldFormText) |
| Prints an input for a form-field parameter. | |
| static | showInputTypeOptions ($inputType, $fieldFormText, $paramValues) |
| Display a form section showing the options for a given format, based on the getParameters() value for that format's query printer. | |
Definition at line 14 of file SF_CreateForm.php.
| SFCreateForm::__construct | ( | ) |
| SFCreateForm::execute | ( | $ | query | ) |
| SFCreateForm::doSpecialCreateForm | ( | ) |
Definition at line 49 of file SF_CreateForm.php.
References $db, $sfgScriptPath, SFForm::create(), SFTemplateInForm::create(), END, scraper::form, SFUtils::linkForSpecialPage(), and SFUtils::printRedirectForm().
Referenced by execute().
| static SFCreateForm::inputTypeParamInput | ( | $ | type, | |
| $ | paramName, | |||
| $ | cur_value, | |||
| array $ | param, | |||
| array $ | paramValues, | |||
| $ | fieldFormText | |||
| ) | [static] |
Prints an input for a form-field parameter.
Code borrowed from Semantic MediaWiki's SMWAskPage::addOptionInput().
Definition at line 290 of file SF_CreateForm.php.
| static SFCreateForm::showInputTypeOptions | ( | $ | inputType, | |
| $ | fieldFormText, | |||
| $ | paramValues | |||
| ) | [static] |
Display a form section showing the options for a given format, based on the getParameters() value for that format's query printer.
| string | $format | |
| array | $paramValues |
Definition at line 347 of file SF_CreateForm.php.
Referenced by SFFormField::creationHTML().
1.5.6