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

Public Member Functions

 isFormatterFor (DataValue $dataValue)
 
 format ( $dataValue, $options=null)
 
- Public Member Functions inherited from SMW\DataValues\ValueFormatters\DataValueFormatter
 __construct (DataValue $dataValue=null)
 
 isFormatterFor (DataValue $dataValue)
 
 setDataValue (DataValue $dataValue)
 
 getErrors ()
 
 setOption ( $key, $value)
 
 getOption ( $key)
 

Protected Member Functions

 doFormat ( $dataValue, $type, $linker)
 

Additional Inherited Members

- Public Attributes inherited from SMW\DataValues\ValueFormatters\DataValueFormatter
const VALUE = 0
 
const WIKI_SHORT = 1
 
const HTML_SHORT = 2
 
const WIKI_LONG = 3
 
const HTML_LONG = 4
 
- Protected Attributes inherited from SMW\DataValues\ValueFormatters\DataValueFormatter
 $dataValue
 

Detailed Description

GNU GPL v2+

Since
2.4
Author
mwjames

Member Function Documentation

◆ format()

SMW\DataValues\ValueFormatters\StringValueFormatter::format (   $dataValue,
  $options = null 
)
Since
2.4

Since
2.4
Parameters
mixed$type
mixed | null$linker
Returns
mixed
Exceptions
RuntimeException

Implements SMW\DataValues\ValueFormatters\ValueFormatter.

◆ isFormatterFor()

SMW\DataValues\ValueFormatters\StringValueFormatter::isFormatterFor ( DataValue  $dataValue)
Since
2.4

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

About | General disclaimer | Privacy policy