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

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 Concept data items.

Note
The table layout and behavior of this class is not coherent with the way that other DIs work. This is because of the unfortunate use of the concept table to store extra cache data, but also due to the design of concept DIs. This will be cleaned up at some point.
Since
1.8
Author
Nischay Nahata

Member Function Documentation

SMWDIHandlerConcept::dataItemFromDBKeys (   $dbkeys)

Method to create a dataitem from an array of DB keys.

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

Method to return the field used to select this type of DataItem

Since
1.8
Returns
string
SMWDIHandlerConcept::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

Since
1.8
Parameters
SMWDataItem$dataItem
Returns
array
SMWDIHandlerConcept::getLabelField ( )

Method to return the field used to select this type of DataItem using the label

Since
1.8
Returns
string
SMWDIHandlerConcept::getTableFields ( )

Method to return array of fields for a DI type

Returns
array
SMWDIHandlerConcept::getWhereConds ( SMWDataItem  $dataItem)

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

Since
1.8
Parameters
SMWDataItem$dataItem
Returns
array

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