Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts:

Public Member Functions

 __construct (ItemId $id, array $requestedFields, ?Labels $labels, ?Descriptions $descriptions, ?Aliases $aliases, ?StatementList $statements, ?Sitelinks $sitelinks)
 
 getId ()
 
 getLabels ()
 
 getDescriptions ()
 
 getAliases ()
 
 getStatements ()
 
 getSitelinks ()
 
 isRequested (string $field)
 

Public Attributes

const TYPE = ItemWriteModel::ENTITY_TYPE
 
const FIELD_TYPE = 'type'
 
const FIELD_LABELS = 'labels'
 
const FIELD_DESCRIPTIONS = 'descriptions'
 
const FIELD_ALIASES = 'aliases'
 
const FIELD_STATEMENTS = 'statements'
 
const FIELD_SITELINKS = 'sitelinks'
 
const VALID_FIELDS
 

Private Attributes

ItemId $id
 
array $requestedFields
 
Labels $labels
 
Descriptions $descriptions
 
Aliases $aliases
 
StatementList $statements
 
Sitelinks $sitelinks
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::__construct ( ItemId $id,
array $requestedFields,
?Labels $labels,
?Descriptions $descriptions,
?Aliases $aliases,
?StatementList $statements,
?Sitelinks $sitelinks )

Member Function Documentation

◆ getAliases()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getAliases ( )

◆ getDescriptions()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getDescriptions ( )

◆ getId()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getId ( )

◆ getLabels()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getLabels ( )

◆ getSitelinks()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getSitelinks ( )

◆ getStatements()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::getStatements ( )

◆ isRequested()

Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::isRequested ( string $field)

Member Data Documentation

◆ $aliases

Aliases Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$aliases
private

◆ $descriptions

Descriptions Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$descriptions
private

◆ $id

ItemId Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$id
private

◆ $labels

Labels Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$labels
private

◆ $requestedFields

array Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$requestedFields
private

◆ $sitelinks

Sitelinks Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$sitelinks
private

◆ $statements

StatementList Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::$statements
private

◆ FIELD_ALIASES

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_ALIASES = 'aliases'

◆ FIELD_DESCRIPTIONS

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_DESCRIPTIONS = 'descriptions'

◆ FIELD_LABELS

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_LABELS = 'labels'

◆ FIELD_SITELINKS

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_SITELINKS = 'sitelinks'

◆ FIELD_STATEMENTS

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_STATEMENTS = 'statements'

◆ FIELD_TYPE

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::FIELD_TYPE = 'type'

◆ TYPE

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::TYPE = ItemWriteModel::ENTITY_TYPE

◆ VALID_FIELDS

const Wikibase\Repo\RestApi\Domain\ReadModel\ItemParts::VALID_FIELDS

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