|
| __construct (EntityStore $store, EntityRevisionLookup $lookup) |
|
| assignFreshId (EntityDocument $sense) |
|
| saveRedirect (EntityRedirect $redirect, $summary, User $user, $flags=0, $baseRevId=false, array $tags=[]) |
|
| userWasLastToEdit (User $user, EntityId $senseId, $lastRevId) |
|
| updateWatchlist (User $user, EntityId $senseId, $watch) |
|
| isWatching (User $user, EntityId $senseId) |
|
| canCreateWithCustomId (EntityId $senseId) |
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lexeme\DataAccess\Store\SenseStore::__construct |
( |
EntityStore | $store, |
|
|
EntityRevisionLookup | $lookup ) |
◆ assignFreshId()
Wikibase\Lexeme\DataAccess\Store\SenseStore::assignFreshId |
( |
EntityDocument | $sense | ) |
|
- See also
- EntityStore::assignFreshId
- Parameters
-
- Exceptions
-
DomainException
◆ canCreateWithCustomId()
Wikibase\Lexeme\DataAccess\Store\SenseStore::canCreateWithCustomId |
( |
EntityId | $senseId | ) |
|
- See also
- EntityStore::canCreateWithCustomId
- Parameters
-
- Returns
- bool
◆ getLexemeRevision()
Wikibase\Lexeme\DataAccess\Store\SenseStore::getLexemeRevision |
( |
SenseId | $senseId, |
|
|
| $revisionId = 0 ) |
|
private |
- Parameters
-
SenseId | $senseId | |
int | $revisionId | |
- Exceptions
-
- Returns
- EntityRevision guaranteed to contain a Lexeme
◆ isWatching()
Wikibase\Lexeme\DataAccess\Store\SenseStore::isWatching |
( |
User | $user, |
|
|
EntityId | $senseId ) |
- See also
- EntityStore::isWatching
- Parameters
-
User | $user | |
SenseId | $senseId | |
- Returns
- bool
◆ saveRedirect()
Wikibase\Lexeme\DataAccess\Store\SenseStore::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\SenseStore::updateWatchlist |
( |
User | $user, |
|
|
EntityId | $senseId, |
|
|
| $watch ) |
- See also
- EntityStore::updateWatchlist
- Parameters
-
User | $user | |
SenseId | $senseId | |
bool | $watch | |
◆ userWasLastToEdit()
Wikibase\Lexeme\DataAccess\Store\SenseStore::userWasLastToEdit |
( |
User | $user, |
|
|
EntityId | $senseId, |
|
|
| $lastRevId ) |
- See also
- EntityStore::userWasLastToEdit
- Parameters
-
User | $user | |
SenseId | $senseId | |
int | $lastRevId | |
- Returns
- bool
◆ $lookup
Wikibase\Lexeme\DataAccess\Store\SenseStore::$lookup |
|
private |
◆ $store
Wikibase\Lexeme\DataAccess\Store\SenseStore::$store |
|
private |
The documentation for this class was generated from the following file: