Public Member Functions | |
| __construct () | |
| Constructor. | |
Protected Member Functions | |
| makePage ($p) | |
| The main method for creating the output page. | |
| processParams () | |
| This method calls the various processXXXBox() methods for each of the corresponding getXXXBox() methods which the UI uses. | |
| showFormatOptions ($format, array $paramValues, array $ignoredAttribs=array()) | |
| Displays a form section showing the options for a given format, based on the getParameters() value for that format's query printer. | |
| makeForm () | |
| Create the search form. | |
| getUrlArgs () | |
| Overridden to include form parameters. | |
| getOtherParametersBox () | |
| Creates controls for limit, intro, outro, default and offset. | |
Definition at line 16 of file SMW_SpecialQueryCreator.php.
| SMWQueryCreatorPage::__construct | ( | ) |
| SMWQueryCreatorPage::makePage | ( | $ | p | ) | [protected] |
The main method for creating the output page.
Calls the various methods of SMWQueryUI and SMWQueryUIHelper to build UI elements and to process them.
OutputPage $wgOut
| string | $p |
Reimplemented from SMWQueryUI.
Definition at line 33 of file SMW_SpecialQueryCreator.php.
References SMWQueryUI::getNavigationBar(), makeForm(), and SMWQueryUI::usesNavigationBar().
| SMWQueryCreatorPage::processParams | ( | ) | [protected] |
This method calls the various processXXXBox() methods for each of the corresponding getXXXBox() methods which the UI uses.
Then it merges the results of these methods and return them.
WebRequest $wgRequest
Reimplemented from SMWQueryUI.
Definition at line 67 of file SMW_SpecialQueryCreator.php.
References SMWQueryUI::processFormatSelectBox(), and SMWQueryUI::processPoSortFormBox().
| SMWQueryCreatorPage::showFormatOptions | ( | $ | format, | |
| array $ | paramValues, | |||
| array $ | ignoredAttribs = array() | |||
| ) | [protected] |
Displays 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 The current values for the parameters (name => value) | |
| array | $ignoredAttribs Attributes which should not be generated by this method. |
Reimplemented from SMWQueryUI.
Definition at line 93 of file SMW_SpecialQueryCreator.php.
| SMWQueryCreatorPage::makeForm | ( | ) | [protected] |
Create the search form.
Definition at line 104 of file SMW_SpecialQueryCreator.php.
References SMWQueryUI::getAskEmbedBox(), SMWQueryUI::getErrorsHtml(), SMWQueryUI::getFormatSelectBoxSep(), getOtherParametersBox(), SMWQueryUI::getPoSortFormBox(), SMWQueryUI::getQueryFormBox(), SMWOutputs::requireResource(), and SMWOutputs::requireScript().
Referenced by makePage().
| SMWQueryCreatorPage::getUrlArgs | ( | ) | [protected] |
Overridden to include form parameters.
Reimplemented from SMWQueryUI.
Definition at line 195 of file SMW_SpecialQueryCreator.php.
References SMWQueryUI::setUrlArgs().
| SMWQueryCreatorPage::getOtherParametersBox | ( | ) | [protected] |
Creates controls for limit, intro, outro, default and offset.
Definition at line 212 of file SMW_SpecialQueryCreator.php.
Referenced by makeForm().
1.5.6