BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SMGeoCoordsValue Class Reference
Inheritance diagram for SMGeoCoordsValue:
Collaboration diagram for SMGeoCoordsValue:

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, $approximateValue=false)
 
 setDataItem (SMWDataItem $dataItem)
 
 setProperty (SMWDIProperty $property)
 
 getProperty ()
 
 setContextPage (SMWDIWikiPage $contextPage=null)
 
 getContextPage ()
 
 setOptions (Options $options)
 
 setOption ($key, $value)
 
 getOptionValueFor ($key)
 
 isEnabledFeature ($feature)
 
 setCaption ($caption)
 
 getCaption ()
 
 getPreferredCaption ()
 
 addInfolink (SMWInfolink $link)
 
 setOutputFormat ($formatString)
 
 getOutputFormat ()
 
 addError ($error)
 
 addErrorMsg ($parameters, $type=null, $language=null)
 
 clearErrors ()
 
 getQueryDescription ($value)
 
 getDataValueFormatter ()
 
 getPropertySpecificationLookup ()
 
 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 ()
 
 disableServiceLinks ()
 
 getInfolinks ()
 
 getHash ()
 
 isNumeric ()
 
 isValid ()
 
 canUse ()
 
 setExtraneousFunctions (array $extraneousFunctions)
 
 getExtraneousFunctionFor ($name, array $parameters=array())
 
 getErrorText ()
 
 getErrors ()
 

Protected Member Functions

 loadDataItem (SMWDataItem $dataItem)
 
 getFormattedCoord (SMWDIGeoCoord $dataItem, $format=null)
 
 parserDistance ($distance)
 
 parseUserValue ($value)
 
 findValueParts ($value)
 
 tryParseAndSetDataItem ($coordinates)
 
 getServiceLinkParams ()
 
- Protected Member Functions inherited from SMWDataValue
 parseUserValue ($value)
 
 loadDataItem (SMWDataItem $dataItem)
 
 getServiceLinkParams ()
 
 checkAllowedValues ()
 
 convertDoubleWidth ($value)
 

Protected Attributes

 $wikiValue
 
- Protected Attributes inherited from SMWDataValue
 $m_dataitem
 
 $m_property = null
 
 $m_contextPage = null
 
 $m_caption
 
 $m_typeid
 
 $m_outformat = false
 
 $approximateValue = false
 

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'
 

Member Function Documentation

SMGeoCoordsValue::getFormattedCoord ( SMWDIGeoCoord  $dataItem,
  $format = null 
)
protected
Since
3.0
Parameters
SMWDIGeoCoord$dataItem
string | null$format
Returns
string|null
SMGeoCoordsValue::getLongHTMLText (   $linker = null)
SMGeoCoordsValue::getLongWikiText (   $linked = null)
SMGeoCoordsValue::getQueryDescription (   $value)

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

Since
0.6
Parameters
string$value
Returns
SMWDescription
Exceptions
InvalidArgumentException
SMGeoCoordsValue::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.

Since
0.6.4
Returns
array
SMGeoCoordsValue::getShortHTMLText (   $linker = null)
SMGeoCoordsValue::getShortWikiText (   $linked = null)
SMGeoCoordsValue::getWikiValue ( )
See Also
SMWDataValue::getWikiValue
Since
0.6
SMGeoCoordsValue::loadDataItem ( SMWDataItem  $dataItem)
protected
See Also
SMWDataValue::setDataItem
Since
1.0
Parameters
SMWDataItem$dataItem
Returns
boolean
SMGeoCoordsValue::parseUserValue (   $value)
protected
See Also
SMWDataValue::parseUserValue
Since
0.6
SMGeoCoordsValue::tryParseAndSetDataItem (   $coordinates)
protected
Parameters
string$coordinates

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