WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\Content\LexemeHandler Class Reference
+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\Content\LexemeHandler:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\Content\LexemeHandler:

Public Member Functions

 __construct (EntityContentDataCodec $contentCodec, EntityConstraintProvider $constraintProvider, ValidatorErrorLocalizer $errorLocalizer, EntityIdParser $entityIdParser, EntityIdLookup $entityIdLookup, EntityLookup $entityLookup, FieldDefinitions $lexemeFieldDefinitions, LemmaLookup $lemmaLookup, LexemeTermFormatter $lexemeTermFormatter, callable $legacyExportFormatDetector=null)
 
 getActionOverrides ()
 
 makeEmptyEntity ()
 
 makeEntityRedirectContent (EntityRedirect $redirect)
 
 supportsRedirects ()
 
 makeEntityId ( $id)
 
 getEntityType ()
 
 getSpecialPageForCreation ()
 
 getIdForTitle (Title $target)
 

Static Public Member Functions

static factory (ContainerInterface $services, IContextSource $context)
 This is intended to be used in the entity types wiring.
 

Protected Member Functions

 newEntityContent (EntityHolder $entityHolder=null)
 

Private Member Functions

 normalizeFragmentToId (Title $target)
 

Private Attributes

EntityIdLookup $entityIdLookup
 
EntityLookup $entityLookup
 
LemmaLookup $lemmaLookup
 
LexemeTermFormatter $lexemeTermFormatter
 

Detailed Description

Author
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::__construct ( EntityContentDataCodec $contentCodec,
EntityConstraintProvider $constraintProvider,
ValidatorErrorLocalizer $errorLocalizer,
EntityIdParser $entityIdParser,
EntityIdLookup $entityIdLookup,
EntityLookup $entityLookup,
FieldDefinitions $lexemeFieldDefinitions,
LemmaLookup $lemmaLookup,
LexemeTermFormatter $lexemeTermFormatter,
callable $legacyExportFormatDetector = null )

Member Function Documentation

◆ factory()

static Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::factory ( ContainerInterface $services,
IContextSource $context )
static

This is intended to be used in the entity types wiring.

◆ getActionOverrides()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::getActionOverrides ( )
See also
ContentHandler::getActionOverrides

◆ getEntityType()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::getEntityType ( )

◆ getIdForTitle()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::getIdForTitle ( Title $target)

◆ getSpecialPageForCreation()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::getSpecialPageForCreation ( )

◆ makeEmptyEntity()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::makeEmptyEntity ( )

◆ makeEntityId()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::makeEntityId ( $id)
Parameters
string$id

◆ makeEntityRedirectContent()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::makeEntityRedirectContent ( EntityRedirect $redirect)

◆ newEntityContent()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::newEntityContent ( EntityHolder $entityHolder = null)
protected
See also
EntityHandler::newEntityContent

◆ normalizeFragmentToId()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::normalizeFragmentToId ( Title $target)
private

◆ supportsRedirects()

Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::supportsRedirects ( )

Member Data Documentation

◆ $entityIdLookup

EntityIdLookup Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::$entityIdLookup
private

◆ $entityLookup

EntityLookup Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::$entityLookup
private

◆ $lemmaLookup

LemmaLookup Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::$lemmaLookup
private

◆ $lexemeTermFormatter

LexemeTermFormatter Wikibase\Lexeme\MediaWiki\Content\LexemeHandler::$lexemeTermFormatter
private

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