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

Public Member Functions

 getQueryDescription ($value)
 
 getShortWikiText ($linked=null)
 
 getShortHTMLText ($linker=null)
 
 getLongWikiText ($linked=null)
 
 getLongHTMLText ($linker=null)
 
 getWikiValue ()
 
- Public Member Functions inherited from SMWDataValue
 __construct ($typeid)
 
 setUserValue ($value, $caption=false)
 
 setDataItem (SMWDataItem $dataItem)
 
 setDataValueServiceFactory ($dataValueServiceFactory)
 
 setProperty (SMWDIProperty $property)
 
 getProperty ()
 
 setContextPage (SMWDIWikiPage $contextPage=null)
 
 getContextPage ()
 
 setOptions (Options $options=null)
 
 setOption ($key, $value)
 
 getOption ($key)
 
 isEnabledFeature ($feature)
 
 setCaption ($caption)
 
 getCaption ()
 
 getPreferredCaption ()
 
 setOutputFormat ($formatString)
 
 getOutputFormat ()
 
 addError ($error)
 
 addErrorMsg ($parameters, $type=null)
 
 clearErrors ()
 
 getQueryDescription ($value)
 
 getDataItem ()
 
 __toString ()
 
 getShortWikiText ($linked=null)
 
 getShortHTMLText ($linker=null)
 
 getLongWikiText ($linked=null)
 
 getLongHTMLText ($linker=null)
 
 getShortText ($outputformat, $linker=null)
 
 getLongText ($outputformat, $linker=null)
 
 getInfolinkText ($outputformat, $linker=null)
 
 getWikiValue ()
 
 getTypeID ()
 
 getInfolinks ()
 
 getHash ()
 
 isNumeric ()
 
 isValid ()
 
 canUse ()
 
 getExtraneousFunctionFor ($name, array $parameters=array())
 
 getErrorText ()
 
 getErrors ()
 

Protected Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from SMWDataValue
static prepareValue (&$value, &$comparator)
 
- 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'
 
- Protected Attributes inherited from SMWDataValue
 $m_dataitem
 
 $m_property = null
 
 $m_contextPage = null
 
 $m_caption
 
 $m_typeid
 
 $m_outformat = false
 
 $dataValueServiceFactory
 

Detailed Description

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
Markus Krötzsch

Member Function Documentation

Maps\Semantic\DataValues\CoordinateValue::getLongHTMLText (   $linker = null)
Maps\Semantic\DataValues\CoordinateValue::getLongWikiText (   $linked = null)
Maps\Semantic\DataValues\CoordinateValue::getQueryDescription (   $value)

Overwrite SMWDataValue::getQueryDescription() to be able to process comparators between all values.

Parameters
string$value
Returns
Description
Exceptions
InvalidArgumentException
Maps\Semantic\DataValues\CoordinateValue::getServiceLinkParams ( )
protected

Create links to mapping services based on a wiki-editable message. The parameters available to the message are:

$1: The location in non-directional float notation. $2: The location in directional DMS notation. $3: The latitude in non-directional float notation. $4 The longitude in non-directional float notation.

Returns
array
Maps\Semantic\DataValues\CoordinateValue::getShortHTMLText (   $linker = null)
Maps\Semantic\DataValues\CoordinateValue::getShortWikiText (   $linked = null)
Maps\Semantic\DataValues\CoordinateValue::getWikiValue ( )
Maps\Semantic\DataValues\CoordinateValue::loadDataItem ( SMWDataItem  $dataItem)
protected
See also
SMWDataValue::setDataItem
Parameters
SMWDataItem$dataItem
Returns
boolean
Maps\Semantic\DataValues\CoordinateValue::parseUserValue (   $value)
protected

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