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

Public Member Functions

 __construct ( $typeid, SpecificationLookup $specificationLookup)
 
 getWikiValue ()
 
- Public Member Functions inherited from SMWWikiPageValue
 __construct ( $typeid)
 
 setLinkAttributes (array $linkAttributes)
 
 setQueryParameters (array $queryParameters)
 
 getShortWikiText ( $linked=null)
 
 getShortHTMLText ( $linker=null)
 
 getLongWikiText ( $linked=null)
 
 getLongHTMLText ( $linker=null)
 
 getWikiValue ()
 
 getHash ()
 
 getTitle ()
 
 getText ()
 
 getPrefixedText ()
 
 getPreferredCaption ()
 
 getDisplayTitle ()
 
- Public Member Functions inherited from SMWDataValue
 __construct ( $typeid)
 
 getTypeID ()
 
 setUserValue ( $value, $caption=false)
 
 setDataItem (SMWDataItem $dataItem)
 
 setDataValueServiceFactory (DataValueServiceFactory $dataValueServiceFactory)
 
 setProperty (DIProperty $property)
 
 getProperty ()
 
 setContextPage (SMWDIWikiPage $contextPage=null)
 
 getContextPage ()
 
 setCaption ( $caption)
 
 getCaption ()
 
 getPreferredCaption ()
 
 setOutputFormat ( $formatString)
 
 getOutputFormat ()
 
 addError ( $error)
 
 addErrorMsg ( $error, $type=Message::TEXT)
 
 getErrorText ()
 
 getErrors ()
 
 getErrorsByType ( $type=null)
 
 getRestrictionError ()
 
 clearErrors ()
 
 getQueryDescription ( $value)
 
 getDataItem ()
 
 __toString ()
 
 getShortWikiText ( $linker=null)
 
 getShortHTMLText ( $linker=null)
 
 getLongWikiText ( $linker=null)
 
 getLongHTMLText ( $linker=null)
 
 getWikiValue ()
 
 getShortText ( $outputFormat, $linker=null)
 
 getLongText ( $outputFormat, $linker=null)
 
 getInfolinkText ( $outputFormat, $linker=null)
 
 getInfolinks ()
 
 getHash ()
 
 isNumeric ()
 
 isValid ()
 
 canUse ()
 
 isRestricted ()
 
 addCallable ( $key, callable $callable)
 
 hasCallable ( $key)
 
 getCallable ( $key)
 
 clearCallable ( $key)
 
 copyOptions (Options $options=null)
 
 setOption ( $key, $value)
 
 getOption ( $key, $default=false)
 
 hasFeature ( $feature)
 
 isEnabledFeature ( $feature)
 
 checkConstraints ()
 

Public Attributes

const TYPE_ID = '__cschema'
 
- Public Attributes inherited from SMWWikiPageValue
const NO_TEXT_TRANSFORMATION = 'no.text.transformation'
 
const NO_IMAGE = 'no.image'
 
const SHORT_FORM = 'form/short'
 
const PREFIXED_FORM = 'form/prefixed'
 
- Public Attributes inherited from SMWDataValue
const OPT_USER_LANGUAGE = 'user.language'
 
const OPT_CONTENT_LANGUAGE = 'content.language'
 
const OPT_QUERY_CONTEXT = 'query.context'
 
const OPT_QUERY_COMP_CONTEXT = 'query.comparator.context'
 
const OPT_DISABLE_INFOLINKS = 'disable.infolinks'
 
const OPT_DISABLE_SERVICELINKS = 'disable.servicelinks'
 
const OPT_COMPACT_INFOLINKS = 'compact.infolinks'
 

Protected Member Functions

 parseUserValue ( $value)
 
- Protected Member Functions inherited from SMWWikiPageValue
 parseUserValue ( $value)
 
 loadDataItem (SMWDataItem $dataItem)
 
 getServiceLinkParams ()
 
 getShortCaptionText ()
 
 getLongCaptionText ()
 
 getWikiLinkTarget ()
 
- Protected Member Functions inherited from SMWDataValue
 getOptions ()
 
 parseUserValue ( $value)
 
 loadDataItem (SMWDataItem $dataItem)
 
 getServiceLinkParams ()
 
 checkAllowedValues ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SMWDataValue
static prepareValue (&$value, &$comparator)
 
- Protected Attributes inherited from SMWWikiPageValue
 $m_fragment = ''
 
 $m_prefixedtext = ''
 
 $m_id = -1
 
 $m_title = null
 
 $m_fixNamespace = NS_MAIN
 
 $linkAttributes = []
 
 $queryParameters = []
 
- Protected Attributes inherited from SMWDataValue
 $m_dataitem
 
 $m_property = null
 
 $m_contextPage = null
 
 $m_caption
 
 $m_typeid
 
 $m_outformat = false
 
 $restrictionError = false
 
 $dataValueServiceFactory
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\DataValues\ConstraintSchemaValue::__construct (   $typeid,
SpecificationLookup  $specificationLookup 
)
Parameters
string$typeid

Member Function Documentation

◆ getWikiValue()

SMW\DataValues\ConstraintSchemaValue::getWikiValue ( )
See also
WikiPageValue::getWikiValue
Returns
string

◆ parseUserValue()

SMW\DataValues\ConstraintSchemaValue::parseUserValue (   $value)
protected
See also
WikiPageValue::parseUserValue
Parameters
string$value

Member Data Documentation

◆ TYPE_ID

const SMW\DataValues\ConstraintSchemaValue::TYPE_ID = '__cschema'

DV identifier


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

About | General disclaimer | Privacy policy