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

Public Member Functions

 getTableFields ()
 
 getFetchFields ()
 
 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 Time data items.

Since
1.8
Author
Nischay Nahata

Member Function Documentation

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

This type is sorted by a numerical sortkey that maps time values to a time line.

Since
1.8
Returns
string
SMWDIHandlerTime::getInsertValues ( SMWDataItem  $dataItem)

Method to return an array of fields=>values for a DataItem. This array is used to perform all insert operations into the DB. To optimize return minimum fields having indexes.

Returns
array
SMWDIHandlerTime::getLabelField ( )

This type does not have a label. The string value that we store internally is a technical serialisation that is not of interest for asking queries about, in particular since this serialisation might be changed.

Since
1.8
Returns
string
SMWDIHandlerTime::getTableFields ( )

Method to return array of fields for a DI type

Returns
array
SMWDIHandlerTime::getWhereConds ( SMWDataItem  $dataItem)

Method to return an array of fields=>values for a DataItem

Returns
array

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