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

Public Member Functions

 __construct ($typeid= '')
 
 getShortWikiText ($linker=null)
 
 getLongHtmlText ($linker=null)
 
 getShortHtmlText ($linker=null)
 
- Public Member Functions inherited from SMWStringValue
 getShortWikiText ($linker=null)
 
 getShortHTMLText ($linker=null)
 
 getLongWikiText ($linker=null)
 
 getLongHTMLText ($linker=null)
 
 getWikiValue ()
 
 getWikiValueByLengthOf ($length)
 
 getInfolinks ()
 

Public Attributes

const TYPE_ID = '__pvali'
 
const LIST_PREFIX = 'Smw_allows_list_'
 
- Public Attributes inherited from SMWStringValue
const TYPE_ID = '_txt'
 
const TYPE_LEGACY_ID = '_str'
 
const TYPE_COD_ID = '_cod'
 

Protected Member Functions

 parseUserValue ($value)
 
- Protected Member Functions inherited from SMWStringValue
 parseUserValue ($value)
 
 loadDataItem (DataItem $dataItem)
 
 getServiceLinkParams ()
 

Detailed Description

To suppport value list via the NS_MEDIAWIKI namespace

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\DataValues\AllowsListValue::__construct (   $typeid = '')
Parameters
string$typeid

Member Function Documentation

SMW\DataValues\AllowsListValue::getLongHtmlText (   $linker = null)
See also
DataValue::getLongHtmlText
Parameters
string$value
SMW\DataValues\AllowsListValue::getShortHtmlText (   $linker = null)
See also
DataValue::getShortHtmlText
Parameters
string$value
SMW\DataValues\AllowsListValue::getShortWikiText (   $linker = null)
See also
DataValue::getShortWikiText
Parameters
string$value
SMW\DataValues\AllowsListValue::parseUserValue (   $value)
protected
See also
DataValue::parseUserValue
Parameters
string$value

Member Data Documentation

const SMW\DataValues\AllowsListValue::LIST_PREFIX = 'Smw_allows_list_'

Fixed Mediawiki NS prefix

const SMW\DataValues\AllowsListValue::TYPE_ID = '__pvali'

DV identifier


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