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

Public Member Functions

 getName ()
 
 getParamDefinitions (array $definitions)
 
- Public Member Functions inherited from SMW\ResultPrinter
 __construct ($format, $inline=true, $useValidator=false)
 
 isEnabledFeature ($feature)
 
 getQueryMode ($context)
 
 getName ()
 
 setShowErrors ($show)
 
 getParameters ()
 
 getParamDefinitions (array $definitions)
 
 getNamedParameters (array $definitions=array())
 
 isExportFormat ()
 
 getDefaultSort ()
 
- Public Member Functions inherited from SMW\QueryResultPrinter
 getResult (QueryResult $results, array $fullParams, $outputMode)
 

Protected Member Functions

 getResultText (SMWQueryResult $result, $outputMode)
 
 getFormatOutput ($data, $options)
 
- Protected Member Functions inherited from SMW\ResultPrinter
 getResultText (SMWQueryResult $res, $outputMode)
 
 buildResult (SMWQueryResult $results)
 
 handleParameters (array $params, $outputMode)
 
 postProcessParameters ()
 
 getLinker ($firstcol=false)
 
 getFurtherResultsLink (SMWQueryResult $res, $outputMode)
 
 getErrorString (SMWQueryResult $res)
 
 escapeText ($text, $outputmode)
 
 getSearchLabel ($outputmode)
 
 linkFurtherResults (SMWQueryResult $results)
 
 addError ($errorMessage)
 
 textDisplayParameters ()
 
 exportFormatParameters ()
 

Additional Inherited Members

- Static Public Attributes inherited from SMW\ResultPrinter
static $maxRecursionDepth = 2
 
- Protected Attributes inherited from SMW\ResultPrinter
 $m_params
 
 $params
 
 $fullParams
 
 $outputMode
 
 $results
 
 $mIntro = ''
 
 $mOutro = ''
 
 $mSearchlabel = null
 
 $mDefault = ''
 
 $mFormat
 
 $mLinkFirst
 
 $mLinkOthers
 
 $mShowHeaders = SMW_HEADERS_SHOW
 
 $mShowErrors = true
 
 $mInline
 
 $mLinker
 
 $mErrors = array()
 
 $isHTML = false
 
 $hasTemplates = false
 

Detailed Description

Boilerplate query printer

Add your description here ...

See also
http://www.semantic-mediawiki.org/wiki/Writing_result_printers
Since
1.8

GNU GPL v2 or later

Author
mwjames Description ... this part is used for the doxygen processor

Member Function Documentation

SRFBoilerplate::getFormatOutput (   $data,
  $options 
)
protected

Prepare data for the output

Since
1.8
Parameters
array$data
array$options
Returns
string
SRFBoilerplate::getName ( )
See also
SMWResultPrinter::getName
Returns
string

Implements SMW\QueryResultPrinter.

SRFBoilerplate::getParamDefinitions ( array  $definitions)
See also
SMWResultPrinter::getParamDefinitions
Since
1.8
Parameters
$definitionsarray of IParamDefinition
Returns
array of IParamDefinition|array

Implements SMW\QueryResultPrinter.

SRFBoilerplate::getResultText ( SMWQueryResult  $result,
  $outputMode 
)
protected
See also
SMWResultPrinter::getResultText
Parameters
SMWQueryResult$result
$outputMode
Returns
string

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