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

Public Member Functions

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

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

This datavalue implements String-Datavalues suitable for defining String-types of properties.

GNU GPL v2+

Since
1.6
Author
Nikolas Iwan
Markus Krötzsch

Member Function Documentation

SMWStringValue::getInfolinks ( )
SMWStringValue::getLongHTMLText (   $linker = null)
Todo:
Rather parse input to obtain properly formatted HTML.
See also
DataValue::getLongHTMLText
Returns
string
SMWStringValue::getLongWikiText (   $linker = null)
See also
DataValue::getLongWikiText
Returns
string
SMWStringValue::getServiceLinkParams ( )
protected
SMWStringValue::getShortHTMLText (   $linker = null)
See also
DataValue::getShortHTMLText
Returns
string
SMWStringValue::getShortWikiText (   $linker = null)
See also
DataValue::getShortWikiText
Returns
string
SMWStringValue::getWikiValue ( )
See also
DataValue::getWikiValue
Returns
string
SMWStringValue::getWikiValueByLengthOf (   $length)
SMWStringValue::loadDataItem ( DataItem  $dataItem)
protected
See also
DataValue::loadDataItem
Parameters
SMWDataItem$dataitem
Returns
boolean
SMWStringValue::parseUserValue (   $value)
protected
See also
DataValue::parseUserValue
Parameters
string$value

Member Data Documentation

const SMWStringValue::TYPE_COD_ID = '_cod'

DV identifier

const SMWStringValue::TYPE_ID = '_txt'

DV identifier

const SMWStringValue::TYPE_LEGACY_ID = '_str'

DV identifier


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