Wikibase
MediaWiki Wikibase extension
|
Class for statement remove operation. More...
Public Member Functions | |
getGuid () | |
__construct ( $guid) | |
Constructs a new mainsnak change operation. More... | |
apply (EntityDocument $entity, Summary $summary=null) | |
validate (EntityDocument $entity) | |
Public Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOpBase | |
getActions () | |
Private Member Functions | |
getSummaryArgs (Snak $mainSnak) | |
Private Attributes | |
$guid | |
Additional Inherited Members | |
Protected Member Functions inherited from Wikibase\Repo\ChangeOp\ChangeOpBase | |
updateSummary (?Summary $summary, $action, $language='', $args='') | |
Class for statement remove operation.
Wikibase\Repo\ChangeOp\ChangeOpRemoveStatement::__construct | ( | $guid | ) |
Constructs a new mainsnak change operation.
string | $guid |
InvalidArgumentException |
Wikibase\Repo\ChangeOp\ChangeOpRemoveStatement::apply | ( | EntityDocument | $entity, |
Summary | $summary = null |
||
) |
EntityDocument | $entity | |
Summary | null | $summary |
InvalidArgumentException | |
ChangeOpException |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
Wikibase\Repo\ChangeOp\ChangeOpRemoveStatement::getGuid | ( | ) |
|
private |
Snak | $mainSnak |
Wikibase\Repo\ChangeOp\ChangeOpRemoveStatement::validate | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
|
private |