Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
PFCreateForm Class Reference
Inheritance diagram for PFCreateForm:
Inheritance graph
[legend]
Collaboration diagram for PFCreateForm:
Collaboration graph
[legend]

Public Member Functions

 execute ( $query)
 
 doSpecialCreateForm ( $query)
 
 formCreationHTML ( $form)
 
 sectionCreationHTML ( $section, $section_count)
 
 templateCreationHTML ( $tif, $template_num)
 
 fieldCreationHTML ( $field, $field_num, $template_num)
 
 inputTypeDropdownHTML ( $field_form_text, $default_input_type, $possible_input_types, $cur_input_type)
 
 showSectionParameters ( $section_count, $paramValues)
 

Static Public Member Functions

static inputTypeParamInput ( $type, $paramName, $cur_value, array $param, array $paramValues, $fieldFormText)
 
static showInputTypeOptions ( $inputType, $fieldFormText, $paramValues)
 

Protected Member Functions

 getGroupName ()
 

Member Function Documentation

◆ inputTypeParamInput()

static PFCreateForm::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().

Parameters
string$type
string$paramName
string$cur_value
array$param
array$paramValues
string$fieldFormText
Returns
string

◆ showInputTypeOptions()

static PFCreateForm::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.

Parameters
string$inputType
string$fieldFormText
array$paramValues
Returns
string

◆ showSectionParameters()

PFCreateForm::showSectionParameters (   $section_count,
  $paramValues 
)

Display other parameters for a page section

Parameters
int$section_count
array$paramValues
Returns
string

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy