Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SMW\DataValues\AllowsListValue Class Reference
Inheritance diagram for SMW\DataValues\AllowsListValue:
Inheritance graph
[legend]
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 SMW\DataValues\StringValue
 getShortWikiText ( $linker=null)
 
 getShortHTMLText ( $linker=null)
 
 getLongWikiText ( $linker=null)
 
 getLongHTMLText ( $linker=null)
 
 getWikiValue ()
 
 getInfolinks ()
 
 getLength ()
 

Public Attributes

const TYPE_ID = '__pvali'
 
const LIST_PREFIX = 'Smw_allows_list_'
 
- Public Attributes inherited from SMW\DataValues\StringValue
const TYPE_ID = '_txt'
 
const TYPE_LEGACY_ID = '_str'
 
const TYPE_COD_ID = '_cod'
 

Protected Member Functions

 parseUserValue ( $value)
 
- Protected Member Functions inherited from SMW\DataValues\StringValue
 parseUserValue ( $value)
 
 loadDataItem (DataItem $dataItem)
 
 getServiceLinkParams ()
 

Detailed Description

To support value list via the NS_MEDIAWIKI namespace

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getLongHtmlText()

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

◆ getShortHtmlText()

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

◆ getShortWikiText()

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

◆ parseUserValue()

SMW\DataValues\AllowsListValue::parseUserValue (   $value)
protected
See also
DataValue::parseUserValue
Parameters
string$value

Member Data Documentation

◆ LIST_PREFIX

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

Fixed Mediawiki NS prefix

◆ TYPE_ID

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

DV identifier


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

About | General disclaimer | Privacy policy