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

Public Member Functions

 isFormatterFor (DataValue $dataValue)
 
- Public Member Functions inherited from SMW\DataValues\ValueFormatters\StringValueFormatter
 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)
 

Static Public Member Functions

static asJson ( $string, $flag=0)
 

Protected Member Functions

 doFormat ( $dataValue, $type, $linker)
 
- Protected Member Functions inherited from SMW\DataValues\ValueFormatters\StringValueFormatter
 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

◆ asJson()

static SMW\DataValues\ValueFormatters\CodeStringValueFormatter::asJson (   $string,
  $flag = 0 
)
static
Since
2.5
Parameters
string$string
Returns
string

◆ doFormat()

SMW\DataValues\ValueFormatters\CodeStringValueFormatter::doFormat (   $dataValue,
  $type,
  $linker 
)
protected
See also
StringValueFormatter::doFormat

◆ isFormatterFor()

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

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

About | General disclaimer | Privacy policy