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

Public Member Functions

 __construct ( $typeid='')
 
 hasMultiSubstitute ()
 
 substituteAndFormatUri ( $value, $parameters=[])
 
- Public Member Functions inherited from SMWURIValue
 __construct ( $typeid)
 
 getShortWikiText ( $linked=null)
 
 getShortHTMLText ( $linker=null)
 
 getLongWikiText ( $linker=null)
 
 getLongHTMLText ( $linker=null)
 
 getWikiValue ()
 
 getURI ()
 
 getURL ()
 
- 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 ()
 

Protected Member Functions

 parseUserValue ( $value)
 
- Protected Member Functions inherited from SMWURIValue
 parseUserValue ( $value)
 
 loadDataItem (SMWDataItem $dataItem)
 
 getServiceLinkParams ()
 
 getUriDataitem ()
 
 makeNonlinkedWikiText ( $url)
 
- 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)
 
- Public Attributes inherited from SMWURIValue
const VALUE_RAW = 'uri.value.raw'
 
- 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'
 
- Static Protected Member Functions inherited from SMWURIValue
static isValidTelURI ( $s)
 
- Protected Attributes inherited from SMWURIValue
 $m_wikitext
 
- 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

https://www.ietf.org/rfc/rfc3986.txt describes:

" ... Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource." with "... Uniform Resource Locator" (URL) refers to the subset of URIs that provide a means of locating the resource by describing its primary access mechanism ..."

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ hasMultiSubstitute()

SMW\DataValues\ExternalFormatterUriValue::hasMultiSubstitute ( )
Since
3.1
Returns
boolean

◆ parseUserValue()

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

◆ substituteAndFormatUri()

SMW\DataValues\ExternalFormatterUriValue::substituteAndFormatUri (   $value,
  $parameters = [] 
)
Since
2.5
Parameters
string$value
Returns
string

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

About | General disclaimer | Privacy policy