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

Public Member Functions

 getName ()
 
 getMimeType (SMWQueryResult $queryResult)
 
 getFileName (SMWQueryResult $queryResult)
 
 getParamDefinitions (array $definitions)
 
- Public Member Functions inherited from SMW\FileExportPrinter
 isExportFormat ()
 
 outputAsFile (SMWQueryResult $queryResult, array $params)
 
 getFileName (SMWQueryResult $queryResult)
 
 getQueryMode ($mode)
 
- 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 $res, $outputMode)
 
- 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

CSV export for SMW Queries

Since
1.9

GNU GPL v2+

Author
Nathan R. Yergler
Markus Krötzsch Printer class for generating CSV output

Member Function Documentation

SMW\CsvResultPrinter::getFileName ( SMWQueryResult  $queryResult)
See also
SMWIExportPrinter::getFileName
Since
1.8
Parameters
SMWQueryResult$queryResult
Returns
string|boolean

Implements SMW\ExportPrinter.

SMW\CsvResultPrinter::getMimeType ( SMWQueryResult  $queryResult)
See also
SMWIExportPrinter::getMimeType
Since
1.8
Parameters
SMWQueryResult$queryResult
Returns
string

Implements SMW\ExportPrinter.

SMW\CsvResultPrinter::getName ( )
Returns
string

Implements SMW\QueryResultPrinter.

SMW\CsvResultPrinter::getParamDefinitions ( array  $definitions)
See also
SMWResultPrinter::getParamDefinitions
Since
1.8
Parameters
ParamDefinition[]$definitions
Returns
array

Implements SMW\QueryResultPrinter.

SMW\CsvResultPrinter::getResultText ( SMWQueryResult  $res,
  $outputMode 
)
protected

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