BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SMW\Tests\Utils\Mock\FakeQueryStore Class Reference
Inheritance diagram for SMW\Tests\Utils\Mock\FakeQueryStore:
Collaboration diagram for SMW\Tests\Utils\Mock\FakeQueryStore:

Public Member Functions

 setQueryResult (SMWQueryResult $queryResult)
 
 getQueryResult (SMWQuery $query)
 
- Public Member Functions inherited from SMWSQLStore3
 __construct ()
 
 getDataItemHandlerForDIType ($diType)
 
 getDataItemHandlerForDatatype ($typeid)
 
 getReader ()
 
 getSemanticData (DIWikiPage $subject, $filter=false)
 
 getPropertyValues ($subject, DIProperty $property, $requestOptions=null)
 
 getPropertySubjects (DIProperty $property, $dataItem, $requestOptions=null)
 
 getAllPropertySubjects (DIProperty $property, $requestoptions=null)
 
 getProperties (DIWikiPage $subject, $requestOptions=null)
 
 getInProperties (SMWDataItem $value, $requestoptions=null)
 
 getWriter ()
 
 deleteSubject (Title $title)
 
 changeTitle (Title $oldtitle, Title $newtitle, $pageid, $redirid=0)
 
 getQueryResult (SMWQuery $query)
 
 getPropertiesSpecial ($requestOptions=null)
 
 getUnusedPropertiesSpecial ($requestOptions=null)
 
 getWantedPropertiesSpecial ($requestOptions=null)
 
 getStatistics ()
 
 getSetupHandler ()
 
 setup ($verbose=true)
 
 drop ($verbose=true)
 
 refreshData (&$id, $count, $namespaces=false, $usejobs=true)
 
 refreshConceptCache (Title $concept)
 
 deleteConceptCache ($concept)
 
 getConceptCacheStatus ($concept)
 
 getSQLOptions (SMWRequestOptions $requestOptions=null, $valueCol= '')
 
 getSQLConditions (SMWRequestOptions $requestOptions=null, $valueCol= '', $labelCol= '', $addAnd=true)
 
 applyRequestOptions (array $data, SMWRequestOptions $requestOptions=null)
 
 findTypeTableId ($typeid)
 
 findDiTypeTableId ($dataItemId)
 
 findPropertyTableID (DIProperty $property)
 
 changeSMWPageID ($oldid, $newid, $oldnamespace=-1, $newnamespace=-1, $sdata=true, $podata=true)
 
 getPropertyTables ()
 
 getObjectIds ()
 
 getStatisticsTable ()
 
 clear ()
 
 getConnection ($connectionTypeId= 'mw.db')
 
 getPropertyTableInfoFetcher ()
 
 getPropertyTableIdReferenceFinder ()
 
- Public Member Functions inherited from SMW\Store
 getSemanticData (DIWikiPage $subject, $filter=false)
 
 getPropertyValues ($subject, DIProperty $property, $requestoptions=null)
 
 getPropertySubjects (DIProperty $property, $value, $requestoptions=null)
 
 getAllPropertySubjects (DIProperty $property, $requestoptions=null)
 
 getProperties (DIWikiPage $subject, $requestOptions=null)
 
 getInProperties (SMWDataItem $object, $requestoptions=null)
 
 getWikiPageSortKey (DIWikiPage $wikiPage)
 
 getWikiPageLastModifiedTimestamp (DIWikiPage $wikiPage)
 
 getRedirectTarget (SMWDataItem $dataItem)
 
 deleteSubject (Title $subject)
 
 updateData (SemanticData $semanticData)
 
 clearData (DIWikiPage $di)
 
 changeTitle (Title $oldtitle, Title $newtitle, $pageid, $redirid=0)
 
 getQueryResult (SMWQuery $query)
 
 getPropertiesSpecial ($requestoptions=null)
 
 getUnusedPropertiesSpecial ($requestoptions=null)
 
 getWantedPropertiesSpecial ($requestoptions=null)
 
 getStatistics ()
 
 setup ($verbose=true)
 
 drop ($verbose=true)
 
 refreshData (&$index, $count, $namespaces=false, $usejobs=true)
 
 getParserTestTables ()
 
 clear ()
 
 setUpdateJobsEnabledState ($status)
 
 getUpdateJobsEnabledState ()
 
 setConnectionManager (ConnectionManager $connectionManager)
 
 getConnection ($connectionTypeId)
 

Protected Attributes

 $queryResult
 
- Protected Attributes inherited from SMWSQLStore3
 $reader = false
 
 $writer = false
 
 $setupHandler = false
 
 $diHandlers = array()
 
- Protected Attributes inherited from SMW\Store
 $connectionManager = null
 

Additional Inherited Members

- Static Public Member Functions inherited from SMW\Store
static setupStore ($verbose=true)
 
- Public Attributes inherited from SMWSQLStore3
const FIXED_PROPERTY_ID_UPPERBOUND = 50
 
const CONCEPT_CACHE_TABLE = 'smw_concept_cache'
 
const CONCEPT_TABLE = 'smw_fpt_conc'
 
const PROPERTY_STATISTICS_TABLE = 'smw_prop_stats'
 
const QUERY_LINKS_TABLE = 'smw_query_links'
 
const ID_TABLE = 'smw_object_ids'
 
 $smwIds
 
 $m_semdata = array()
 
 $m_sdstate = array()
 
- Protected Member Functions inherited from SMWSQLStore3
 doDataUpdate (SemanticData $semanticData)
 
 fetchQueryResult (SMWQuery $query)
 
- Protected Member Functions inherited from SMW\Store
 doDataUpdate (SemanticData $data)
 
 fetchQueryResult (SMWQuery $query)
 

Detailed Description

FIXME One would wish to have a FakeStore but instead SMWSQLStore3 is used in order to avoid to implement all abstract methods specified by SMW

SMW SMWExtension medium semantic-mediawiki-integration mediawiki-databaseless

GNU GPL v2+

Since
1.9.2
Author
mwjames

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