|
| __construct (EntityStore $store, EntityRevisionLookup $lookup) |
|
| assignFreshId (EntityDocument $form) |
|
| saveRedirect (EntityRedirect $redirect, $summary, User $user, $flags=0, $baseRevId=false, array $tags=[]) |
|
| userWasLastToEdit (User $user, EntityId $formId, $lastRevId) |
|
| updateWatchlist (User $user, EntityId $formId, $watch) |
|
| isWatching (User $user, EntityId $formId) |
|
| canCreateWithCustomId (EntityId $formId) |
|
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Thiemo Kreuz
◆ __construct()
Wikibase\Lexeme\DataAccess\Store\FormStore::__construct |
( |
EntityStore | $store, |
|
|
EntityRevisionLookup | $lookup ) |
◆ assignFreshId()
Wikibase\Lexeme\DataAccess\Store\FormStore::assignFreshId |
( |
EntityDocument | $form | ) |
|
- See also
- EntityStore::assignFreshId
- Parameters
-
- Exceptions
-
DomainException
◆ canCreateWithCustomId()
Wikibase\Lexeme\DataAccess\Store\FormStore::canCreateWithCustomId |
( |
EntityId | $formId | ) |
|
- See also
- EntityStore::canCreateWithCustomId
- Parameters
-
- Returns
- bool
◆ getLexemeRevision()
Wikibase\Lexeme\DataAccess\Store\FormStore::getLexemeRevision |
( |
FormId | $formId, |
|
|
| $revisionId = 0 ) |
|
private |
- Parameters
-
FormId | $formId | |
int | $revisionId | |
- Exceptions
-
- Returns
- EntityRevision guaranteed to contain a Lexeme
◆ isWatching()
Wikibase\Lexeme\DataAccess\Store\FormStore::isWatching |
( |
User | $user, |
|
|
EntityId | $formId ) |
- See also
- EntityStore::isWatching
- Parameters
-
- Exceptions
-
- Returns
- bool
◆ saveRedirect()
Wikibase\Lexeme\DataAccess\Store\FormStore::saveRedirect |
( |
EntityRedirect | $redirect, |
|
|
| $summary, |
|
|
User | $user, |
|
|
| $flags = 0, |
|
|
| $baseRevId = false, |
|
|
array | $tags = [] ) |
- See also
- EntityStore::saveRedirect
- Parameters
-
EntityRedirect | $redirect | |
string | $summary | |
User | $user | |
int | $flags | |
int | bool | $baseRevId | |
- Exceptions
-
DomainException always
- Returns
- never
◆ updateWatchlist()
Wikibase\Lexeme\DataAccess\Store\FormStore::updateWatchlist |
( |
User | $user, |
|
|
EntityId | $formId, |
|
|
| $watch ) |
- See also
- EntityStore::updateWatchlist
- Parameters
-
User | $user | |
FormId | $formId | |
bool | $watch | |
- Exceptions
-
UnexpectedValueException | |
MWException | |
◆ userWasLastToEdit()
Wikibase\Lexeme\DataAccess\Store\FormStore::userWasLastToEdit |
( |
User | $user, |
|
|
EntityId | $formId, |
|
|
| $lastRevId ) |
- See also
- EntityStore::userWasLastToEdit
- Parameters
-
User | $user | |
FormId | $formId | |
int | $lastRevId | |
- Exceptions
-
- Returns
- bool
◆ $lookup
Wikibase\Lexeme\DataAccess\Store\FormStore::$lookup |
|
private |
◆ $store
Wikibase\Lexeme\DataAccess\Store\FormStore::$store |
|
private |
The documentation for this class was generated from the following file: