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

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

Author
Nischay Nahata
Markus Kroetzsch SMWDataItemHandler for dataitems of type SMWDIWikiPage.

This handler is slightly different from other handlers since wikipages are stored in a separate table and referred to by numeric IDs. The handler thus returns IDs in most cases, but expects data from the SMW IDs table (with DBkey, namespace, interwiki, subobjectname) to be given for creating new dataitems. The store recognizes this special behavior from the field type 'p' that the handler reports for its only data field.

Since
1.8

Member Function Documentation

SMWDIHandlerWikiPage::dataItemFromDBKeys (   $dbkeys)
See Also
SMWDataItemHandler::dataItemFromDBKeys()
Since
1.8
Parameters
array | string$dbkeysexpecting array here
Exceptions
SMWDataItemException
Returns
SMWDataItem
SMWDIHandlerWikiPage::getFetchFields ( )
See Also
SMWDataItemHandler::getFetchFields()
Since
1.8
Returns
array
SMWDIHandlerWikiPage::getIndexField ( )
See Also
SMWDataItemHandler::getIndexField()
Since
1.8
Returns
string
SMWDIHandlerWikiPage::getInsertValues ( SMWDataItem  $dataItem)
See Also
SMWDataItemHandler::getInsertValues()
Since
1.8
Parameters
SMWDataItem$dataItem
Returns
array
SMWDIHandlerWikiPage::getLabelField ( )
See Also
SMWDataItemHandler::getLabelField()
Since
1.8
Returns
string
SMWDIHandlerWikiPage::getTableFields ( )
See Also
SMWDataItemHandler::getTableFields()
Since
1.8
Returns
array
SMWDIHandlerWikiPage::getTableIndexes ( )
See Also
SMWDataItemHandler::getTableIndexes()
Since
1.8
Returns
array
SMWDIHandlerWikiPage::getWhereConds ( SMWDataItem  $dataItem)
See Also
SMWDataItemHandler::getWhereConds()
Since
1.8
Parameters
SMWDataItem$dataItem
Returns
array

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