Public Member Functions | |
| getQueryDescription ($value) | |
| Overwrite SMWDataValue::getQueryDescription() to be able to process comparators between all values. | |
| getShortWikiText ($linked=null) | |
| getShortHTMLText ($linker=null) | |
| getLongWikiText ($linked=null) | |
| getLongHTMLText ($linker=null) | |
| getWikiValue () | |
| getExportData () | |
Protected Member Functions | |
| loadDataItem (SMWDataItem $dataItem) | |
| parseUserValue ($value) | |
| parseUserValueOrQuery ($value, $asQuery=false) | |
| Parses the value into the coordinates and any meta data provided, such as distance. | |
| getServiceLinkParams () | |
| Create links to mapping services based on a wiki-editable message. | |
Protected Attributes | |
| $wikiValue | |
Definition at line 16 of file SM_GeoCoordsValue.php.
| SMGeoCoordsValue::loadDataItem | ( | SMWDataItem $ | dataItem | ) | [protected] |
| $dataitem | SMWDataItem |
Reimplemented from SMWDataValue.
Definition at line 29 of file SM_GeoCoordsValue.php.
References $smgQPCoodDirectional, $smgQPCoodFormat, and SMWDataItem::TYPE_GEO.
| SMGeoCoordsValue::parseUserValue | ( | $ | value | ) | [protected] |
Reimplemented from SMWDataValue.
Definition at line 50 of file SM_GeoCoordsValue.php.
References parseUserValueOrQuery().
| SMGeoCoordsValue::getQueryDescription | ( | $ | value | ) |
Overwrite SMWDataValue::getQueryDescription() to be able to process comparators between all values.
| string | $value |
Reimplemented from SMWDataValue.
Definition at line 64 of file SM_GeoCoordsValue.php.
References parseUserValueOrQuery().
| SMGeoCoordsValue::parseUserValueOrQuery | ( | $ | value, | |
| $ | asQuery = false | |||
| ) | [protected] |
Parses the value into the coordinates and any meta data provided, such as distance.
| $value | String | |
| $asQuery | Boolean |
Definition at line 78 of file SM_GeoCoordsValue.php.
References SMWDataValue::addError(), SMWDataValue::getDataItem(), SMWDataValue::isValid(), SMWDataValue::prepareValue(), and SMWDataValue::setUserValue().
Referenced by getQueryDescription(), and parseUserValue().
| SMGeoCoordsValue::getShortWikiText | ( | $ | linked = null |
) |
Reimplemented from SMWDataValue.
Definition at line 133 of file SM_GeoCoordsValue.php.
References $smgQPCoodDirectional, $smgQPCoodFormat, SMWDataValue::getErrorText(), and SMWDataValue::isValid().
Referenced by getShortHTMLText().
| SMGeoCoordsValue::getShortHTMLText | ( | $ | linker = null |
) |
Reimplemented from SMWDataValue.
Definition at line 153 of file SM_GeoCoordsValue.php.
References getShortWikiText().
| SMGeoCoordsValue::getLongWikiText | ( | $ | linked = null |
) |
Reimplemented from SMWDataValue.
Definition at line 162 of file SM_GeoCoordsValue.php.
References $smgQPCoodDirectional, $smgQPCoodFormat, SMWDataValue::getErrorText(), SMWDataValue::isValid(), and SMWOutputs::requireHeadItem().
Referenced by getLongHTMLText().
| SMGeoCoordsValue::getLongHTMLText | ( | $ | linker = null |
) |
Reimplemented from SMWDataValue.
Definition at line 194 of file SM_GeoCoordsValue.php.
References getLongWikiText().
| SMGeoCoordsValue::getWikiValue | ( | ) |
Reimplemented from SMWDataValue.
Definition at line 203 of file SM_GeoCoordsValue.php.
| SMGeoCoordsValue::getExportData | ( | ) |
Definition at line 212 of file SM_GeoCoordsValue.php.
References $smgQPCoodDirectional, $smgQPCoodFormat, and SMWDataValue::isValid().
| 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.
Reimplemented from SMWDataValue.
Definition at line 239 of file SM_GeoCoordsValue.php.
SMGeoCoordsValue::$wikiValue [protected] |
Definition at line 18 of file SM_GeoCoordsValue.php.
1.5.6