Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader Class Reference

Public Member Functions

 __construct (EntityContentDataCodec $contentCodec, BlobStore $blobStore, $wikiId=false)
 
 loadEntityDataFromWikiPageRevision (RevisionRecord $revision, string $slotRole, int $revStoreFlags)
 

Private Attributes

 $contentCodec
 
 $blobStore
 
 $wikiId
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader::__construct ( EntityContentDataCodec  $contentCodec,
BlobStore  $blobStore,
  $wikiId = false 
)

Member Function Documentation

◆ loadEntityDataFromWikiPageRevision()

Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader::loadEntityDataFromWikiPageRevision ( RevisionRecord  $revision,
string  $slotRole,
int  $revStoreFlags 
)
Parameters
RevisionRecord$revision
string$slotRole
int$revStoreFlagsSee IDBAccessObject.
Exceptions
StorageException
Returns
array list( EntityRevision|null $entityRevision, EntityRedirect|null $entityRedirect ) with either $entityRevision or $entityRedirect or both being null (but not both being non-null).

Member Data Documentation

◆ $blobStore

Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader::$blobStore
private

◆ $contentCodec

Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader::$contentCodec
private

◆ $wikiId

Wikibase\Lib\Store\Sql\WikiPageEntityDataLoader::$wikiId
private

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