Semantic MediaWiki and related extensions
Static Public Member Functions | Public Attributes | List of all members
SMW\Query\PrintRequest\Formatter Class Reference

Static Public Member Functions

static format (PrintRequest $printRequest, $linker=null, $outputType=null)
 

Public Attributes

const FORMAT_WIKI = SMW_OUTPUT_WIKI
 
const FORMAT_HTML = SMW_OUTPUT_HTML
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
Markus Krötzsch
mwjames

Member Function Documentation

static SMW\Query\PrintRequest\Formatter::format ( PrintRequest  $printRequest,
  $linker = null,
  $outputType = null 
)
static

Obtain an HTML-formatted or Wiki-formatted representation of the label. The $linker is a Linker object used for generating hyperlinks. If it is NULL, no links will be created.

Since
2.5
Parameters
PrintRequest$printRequest
Linker | null$linker
integer | null$outputType
Returns
string

Member Data Documentation

const SMW\Query\PrintRequest\Formatter::FORMAT_HTML = SMW_OUTPUT_HTML
const SMW\Query\PrintRequest\Formatter::FORMAT_WIKI = SMW_OUTPUT_WIKI

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