Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler Class Reference
Collaboration diagram for SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler:
Collaboration graph
[legend]

Public Member Functions

 getTableFields ()
 
 getFetchFields ()
 
 getTableIndexes ()
 
 getWhereConds (DataItem $dataItem)
 
 getInsertValues (DataItem $dataItem)
 
 getIndexField ()
 
 getLabelField ()
 
 dataItemFromDBKeys ($dbkeys)
 
- Public Member Functions inherited from SMW\SQLStore\EntityStore\DataItemHandler
 __construct (SQLStore $store)
 
 getTableFields ()
 
 getFetchFields ()
 
 getTableIndexes ()
 
 getWhereConds (DataItem $dataItem)
 
 getInsertValues (DataItem $dataItem)
 
 getIndexField ()
 
 getLabelField ()
 
 dataItemFromDBKeys ($dbkeys)
 

Additional Inherited Members

- Protected Attributes inherited from SMW\SQLStore\EntityStore\DataItemHandler
 $store
 

Detailed Description

DataItemHandler for dataitems of type DIWikiPage.

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.

GNU GPL v2+

Since
1.8
Author
Nischay Nahata
Markus Kroetzsch

Member Function Documentation

SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::dataItemFromDBKeys (   $dbkeys)
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getFetchFields ( )
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getIndexField ( )
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getInsertValues ( DataItem  $dataItem)
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getLabelField ( )
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getTableFields ( )
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getTableIndexes ( )
Since
1.8
SMW\SQLStore\EntityStore\DIHandlers\DIWikiPageHandler::getWhereConds ( DataItem  $dataItem)
Since
1.8

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