Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\Elastic\Indexer\Replication\DocumentReplicationExaminer Class Reference

Public Member Functions

 __construct (Store $store, ReplicationStatus $replicationStatus)
 
 check (DIWikiPage $subject, array $params=[])
 

Public Attributes

const CHECK_DOCUMENT_EXISTS = 'check/document/exists'
 
const CHECK_MISSING_FILE_ATTACHMENT = 'check/missing/file_attachment'
 

Detailed Description

GNU GPL v2+

Since
3.1
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Elastic\Indexer\Replication\DocumentReplicationExaminer::__construct ( Store  $store,
ReplicationStatus  $replicationStatus 
)
Since
3.1
Parameters
Store$store
ReplicationStatus$replicationStatus

Member Function Documentation

◆ check()

SMW\Elastic\Indexer\Replication\DocumentReplicationExaminer::check ( DIWikiPage  $subject,
array  $params = [] 
)
Since
3.1
Parameters
DIWikiPage$subject
array$params
Returns
ReplicationError|null

Member Data Documentation

◆ CHECK_DOCUMENT_EXISTS

const SMW\Elastic\Indexer\Replication\DocumentReplicationExaminer::CHECK_DOCUMENT_EXISTS = 'check/document/exists'

Checks whether the requested document exists or not.

◆ CHECK_MISSING_FILE_ATTACHMENT

const SMW\Elastic\Indexer\Replication\DocumentReplicationExaminer::CHECK_MISSING_FILE_ATTACHMENT = 'check/missing/file_attachment'

Checks whether the file entity has a File attachment property or not which only makes sense if the file ingest support is enabled.


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

About | General disclaimer | Privacy policy