A Status representing the result of an EditEntity
edit.
More...
|
| setErrorFlags (int $errorFlags) |
| Set the "OK" flag to false and the value to the given error flags.
|
|
| getRevision () |
| The revision that the edit resulted in.
|
|
| getErrorFlags () |
| Bitfield indicating errors; see the XXX_ERROR constants in EditEntity .
|
|
| getSavedTempUser () |
| Get the temporary user that was created as part of the action that resulted in this status, or null if no temporary user was created.
|
|
| getContext () |
| Get the context that should be used for any further actions.
|
|
|
static | newTempUserStatus (array $data, ?UserIdentity $savedTempUser, IContextSource $context) |
|
A Status representing the result of an EditEntity
edit.
- Copyright
- GPL-2.0-or-later
◆ getErrorFlags()
Wikibase\Repo\EditEntity\EditEntityStatus::getErrorFlags |
( |
| ) |
|
Bitfield indicating errors; see the XXX_ERROR constants in EditEntity
.
Only meaningful if the status is not OK
, and not guaranteed to be present even then.
◆ getRevision()
Wikibase\Repo\EditEntity\EditEntityStatus::getRevision |
( |
| ) |
|
The revision that the edit resulted in.
Only meaningful if the status is OK
.
◆ newEdit()
static Wikibase\Repo\EditEntity\EditEntityStatus::newEdit |
( |
EntityRevision | $revision, |
|
|
?UserIdentity | $savedTempUser, |
|
|
IContextSource | $context ) |
|
static |
◆ setErrorFlags()
Wikibase\Repo\EditEntity\EditEntityStatus::setErrorFlags |
( |
int | $errorFlags | ) |
|
Set the "OK" flag to false and the value to the given error flags.
◆ wrap()
static Wikibase\Repo\EditEntity\EditEntityStatus::wrap |
( |
| $sv | ) |
|
|
static |
The documentation for this class was generated from the following file: