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

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

Since
1.8
Author
Nischay Nahata

Member Function Documentation

SMWDIHandlerBoolean::dataItemFromDBKeys (   $dbkeys)

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

Since
1.8
Parameters
array | string$dbkeysshould be a string here
Returns
SMWDataItem
SMWDIHandlerBoolean::getFetchFields ( )
See Also
SMWDataItemHandler::getFetchFields()
Since
1.8
Returns
array
SMWDIHandlerBoolean::getIndexField ( )

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

Since
1.8
Returns
string
SMWDIHandlerBoolean::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
SMWDIHandlerBoolean::getLabelField ( )

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

Since
1.8
Returns
string
SMWDIHandlerBoolean::getTableFields ( )

Method to return array of fields for a DI type

Returns
array
SMWDIHandlerBoolean::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: