Wikibase
MediaWiki Wikibase extension
|
Class for holding a batch of change operations. More...
Public Member Functions | |
__construct ( $changeOps=[]) | |
add ( $changeOps) | |
Adds one change operation or a list of change operations. More... | |
getChangeOps () | |
Get the array of change operations. More... | |
apply (EntityDocument $entity, Summary $summary=null) | |
validate (EntityDocument $entity) | |
getActions () | |
Private Attributes | |
$changeOps = [] | |
Class for holding a batch of change operations.
Wikibase\Repo\ChangeOp\ChangeOps::__construct | ( | $changeOps = [] | ) |
Wikibase\Repo\ChangeOp\ChangeOps::add | ( | $changeOps | ) |
Adds one change operation or a list of change operations.
InvalidArgumentException |
Reimplemented in Wikibase\Repo\ChangeOp\ChangeOpFingerprint.
Wikibase\Repo\ChangeOp\ChangeOps::apply | ( | EntityDocument | $entity, |
Summary | $summary = null |
||
) |
EntityDocument | $entity | |
Summary | null | $summary |
ChangeOpException |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
Reimplemented in Wikibase\Repo\ChangeOp\ChangeOpFingerprint.
Wikibase\Repo\ChangeOp\ChangeOps::getActions | ( | ) |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
Reimplemented in Wikibase\Repo\ChangeOp\ChangeOpFingerprint.
Wikibase\Repo\ChangeOp\ChangeOps::getChangeOps | ( | ) |
Get the array of change operations.
Reimplemented in Wikibase\Repo\ChangeOp\ChangeOpFingerprint.
Wikibase\Repo\ChangeOp\ChangeOps::validate | ( | EntityDocument | $entity | ) |
EntityDocument | $entity |
ChangeOpException |
Implements Wikibase\Repo\ChangeOp\ChangeOp.
Reimplemented in Wikibase\Repo\ChangeOp\ChangeOpFingerprint.
|
private |