Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SMW\DataValues\AllowsPatternValue Class Reference
Inheritance diagram for SMW\DataValues\AllowsPatternValue:
Inheritance graph
[legend]
Collaboration diagram for SMW\DataValues\AllowsPatternValue:
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 = '__pvap'
 
const REFERENCE_PAGE_ID = 'Smw_allows_pattern'
 
- 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 regular expressions in connection with the Allows pattern property.

GNU GPL v2+

Since
2.4
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getLongHtmlText()

SMW\DataValues\AllowsPatternValue::getLongHtmlText (   $linker = null)
See also
DataValue::getLongHtmlText
Parameters
Linker | null$linker
Returns
string

◆ getShortHtmlText()

SMW\DataValues\AllowsPatternValue::getShortHtmlText (   $linker = null)
See also
DataValue::getShortHtmlText
Parameters
Linker | null$linker
Returns
string

◆ getShortWikiText()

SMW\DataValues\AllowsPatternValue::getShortWikiText (   $linker = null)
See also
DataValue::getShortWikiText
Parameters
Linker | null$linker
Returns
string

◆ parseUserValue()

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

Member Data Documentation

◆ REFERENCE_PAGE_ID

const SMW\DataValues\AllowsPatternValue::REFERENCE_PAGE_ID = 'Smw_allows_pattern'

Fixed Mediawiki page

◆ TYPE_ID

const SMW\DataValues\AllowsPatternValue::TYPE_ID = '__pvap'

DV identifier


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

About | General disclaimer | Privacy policy