SMWQueryCreatorPage Class Reference

Inherits SMWQueryUI.

List of all members.

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.


Detailed Description

Definition at line 16 of file SMW_SpecialQueryCreator.php.


Constructor & Destructor Documentation

SMWQueryCreatorPage::__construct (  ) 

Constructor.

Definition at line 21 of file SMW_SpecialQueryCreator.php.


Member Function Documentation

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

Parameters:
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

Returns:
array

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.

Parameters:
string $format
array $paramValues The current values for the parameters (name => value)
array $ignoredAttribs Attributes which should not be generated by this method.
Returns:
string
Overridden from parent to ignore some parameters.

Reimplemented from SMWQueryUI.

Definition at line 93 of file SMW_SpecialQueryCreator.php.

SMWQueryCreatorPage::makeForm (  )  [protected]

SMWQueryCreatorPage::getUrlArgs (  )  [protected]

Overridden to include form parameters.

Returns:
array of strings in the urlparamater=>value format

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.

Returns:
string

Definition at line 212 of file SMW_SpecialQueryCreator.php.

Referenced by makeForm().


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

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6