Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Elastic\Indexer\Attachment\FileAttachment Class Reference

Public Member Functions

 __construct (Store $store, Indexer $indexer, Bulk $bulk)
 
 setOrigin ( $origin)
 
 createAttachment (DIWikiPage $dataItem)
 
 indexAttachmentInfo (AttachmentAnnotator $attachmentAnnotator)
 

Detailed Description

GNU GPL v2+

Since
3.2
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Elastic\Indexer\Attachment\FileAttachment::__construct ( Store  $store,
Indexer  $indexer,
Bulk  $bulk 
)
Since
3.2
Parameters
Store$store
Indexer$indexer
Bulk$bulk

Member Function Documentation

◆ createAttachment()

SMW\Elastic\Indexer\Attachment\FileAttachment::createAttachment ( DIWikiPage  $dataItem)
Since
3.2
Parameters
DIWikiPage$dataItem

◆ indexAttachmentInfo()

SMW\Elastic\Indexer\Attachment\FileAttachment::indexAttachmentInfo ( AttachmentAnnotator  $attachmentAnnotator)

Meta assignments from a file ingest need to be republished in a SMW conform manner so that property path [[File attachment.Content title::..]] work as expected.

Since
3.2
Parameters
AttachmentAnnotator$attachmentAnnotator

◆ setOrigin()

SMW\Elastic\Indexer\Attachment\FileAttachment::setOrigin (   $origin)
Since
3.2
Parameters
string$origin

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

About | General disclaimer | Privacy policy