Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary:
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary:

Public Member Functions

 getEditAction ()
 
 getUserComment ()
 
 getLabel ()
 

Static Public Member Functions

static newAddSummary (?string $userComment, Term $term)
 
static newReplaceSummary (?string $userComment, Term $term)
 
static newRemoveSummary (?string $userComment, Term $label)
 

Private Member Functions

 __construct (string $editAction, ?string $userComment, Term $term)
 

Private Attributes

string $editAction
 
string $userComment
 
Term $term
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Repo\RestApi\Domain\Model\EditSummary
const ADD_ACTION = 'add'
 
const PATCH_ACTION = 'patch'
 
const REPLACE_ACTION = 'replace'
 
const REMOVE_ACTION = 'remove'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::__construct ( string $editAction,
?string $userComment,
Term $term )
private

Member Function Documentation

◆ getEditAction()

Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::getEditAction ( )

◆ getLabel()

Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::getLabel ( )

◆ getUserComment()

Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::getUserComment ( )

◆ newAddSummary()

static Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::newAddSummary ( ?string $userComment,
Term $term )
static

◆ newRemoveSummary()

static Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::newRemoveSummary ( ?string $userComment,
Term $label )
static

◆ newReplaceSummary()

static Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::newReplaceSummary ( ?string $userComment,
Term $term )
static

Member Data Documentation

◆ $editAction

string Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::$editAction
private

◆ $term

Term Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::$term
private

◆ $userComment

string Wikibase\Repo\RestApi\Domain\Model\LabelEditSummary::$userComment
private

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