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

Public Member Functions

 getTableFields ()
 
 getFetchFields ()
 
 getTableIndexes ()
 
 getWhereConds (SMWDataItem $dataItem)
 
 getInsertValues (SMWDataItem $dataItem)
 
 getIndexField ()
 
 getLabelField ()
 
 dataItemFromDBKeys ($dbkeys)
 
- Public Member Functions inherited from SMWDataItemHandler
 __construct (SMWSQLStore3 $store)
 
 getTableFields ()
 
 getFetchFields ()
 
 getTableIndexes ()
 
 getWhereConds (SMWDataItem $dataItem)
 
 getInsertValues (SMWDataItem $dataItem)
 
 getIndexField ()
 
 getLabelField ()
 
 dataItemFromDBKeys ($dbkeys)
 

Additional Inherited Members

- Protected Attributes inherited from SMWDataItemHandler
 $store
 

Detailed Description

This class implements store access to SMWDIGeoCoord data items.

Since
1.8
Author
Nischay Nahata

Member Function Documentation

SMWDIHandlerGeoCoord::dataItemFromDBKeys (   $dbkeys)
See Also
SMWDataItemHandler::dataItemFromDBKeys()
Since
1.8
Parameters
array | string$dbkeysexpecting string here
Returns
SMWDataItem
SMWDIHandlerGeoCoord::getFetchFields ( )
See Also
SMWDataItemHandler::getFetchFields()
Since
1.8
Returns
array
SMWDIHandlerGeoCoord::getIndexField ( )
See Also
SMWDataItemHandler::getIndexField()
Returns
string
SMWDIHandlerGeoCoord::getInsertValues ( SMWDataItem  $dataItem)
SMWDIHandlerGeoCoord::getLabelField ( )

Coordinates do not have a general string version that could be used for string search, so this method returns no label column (empty string).

See Also
SMWDataItemHandler::getLabelField()
Since
1.8
Returns
string
SMWDIHandlerGeoCoord::getTableFields ( )

Coordinates have three fields: a string version to keep the serialized value (exact), and two floating point columns for latitude and longitude (inexact, useful for bounding box selects). Altitude is not stored in an extra column since no operation uses this for anything so far.

See Also
SMWDataItemHandler::getTableFields()
Returns
array
SMWDIHandlerGeoCoord::getTableIndexes ( )
SMWDIHandlerGeoCoord::getWhereConds ( SMWDataItem  $dataItem)

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