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

Public Member Functions

 getShortWikiText ( $linker=null)
 
 getShortHTMLText ( $linker=null)
 
 getLongWikiText ( $linker=null)
 
 getLongHTMLText ( $linker=null)
 
 getWikiValue ()
 
 getInfolinks ()
 
 getLength ()
 

Public Attributes

const TYPE_ID = '_txt'
 
const TYPE_LEGACY_ID = '_str'
 
const TYPE_COD_ID = '_cod'
 

Protected Member Functions

 parseUserValue ( $value)
 
 loadDataItem (DataItem $dataItem)
 
 getServiceLinkParams ()
 

Detailed Description

Implements a string/text based datavalue suitable for defining text properties.

GNU GPL v2+

Since
1.6
Author
Nikolas Iwan
Markus Krötzsch

Member Function Documentation

◆ getInfolinks()

SMW\DataValues\StringValue::getInfolinks ( )
See also
DataValue::getInfolinks

◆ getLength()

SMW\DataValues\StringValue::getLength ( )
Since
3.0
Returns
integer

◆ getLongHTMLText()

SMW\DataValues\StringValue::getLongHTMLText (   $linker = null)
Todo:
Rather parse input to obtain properly formatted HTML.
See also
DataValue::getLongHTMLText

◆ getLongWikiText()

SMW\DataValues\StringValue::getLongWikiText (   $linker = null)
See also
DataValue::getLongWikiText

◆ getServiceLinkParams()

SMW\DataValues\StringValue::getServiceLinkParams ( )
protected
See also
DataValue::getServiceLinkParams

◆ getShortHTMLText()

SMW\DataValues\StringValue::getShortHTMLText (   $linker = null)
See also
DataValue::getShortHTMLText

◆ getShortWikiText()

SMW\DataValues\StringValue::getShortWikiText (   $linker = null)
See also
DataValue::getShortWikiText

◆ getWikiValue()

SMW\DataValues\StringValue::getWikiValue ( )
See also
DataValue::getWikiValue

◆ loadDataItem()

SMW\DataValues\StringValue::loadDataItem ( DataItem  $dataItem)
protected
See also
DataValue::loadDataItem

◆ parseUserValue()

SMW\DataValues\StringValue::parseUserValue (   $value)
protected
See also
DataValue::parseUserValue

Member Data Documentation

◆ TYPE_COD_ID

const SMW\DataValues\StringValue::TYPE_COD_ID = '_cod'

DV code identifier

◆ TYPE_ID

const SMW\DataValues\StringValue::TYPE_ID = '_txt'

DV text identifier

◆ TYPE_LEGACY_ID

const SMW\DataValues\StringValue::TYPE_LEGACY_ID = '_str'

DV identifier


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

About | General disclaimer | Privacy policy