|
MediaWiki master
|
Public Member Functions | |
| __construct (private readonly UserIdentity $user, string $name, private ?int $id=null,) | |
| getId () | |
| getName () | |
| getUser () | |
| setId (int $id) | |
| setName (string $name) | |
| Change the label's name. | |
Definition at line 17 of file WatchlistLabel.php.
| MediaWiki\Watchlist\WatchlistLabel::__construct | ( | private readonly UserIdentity | $user, |
| string | $name, | ||
| private ?int | $id = null ) |
Definition at line 21 of file WatchlistLabel.php.
References MediaWiki\Watchlist\WatchlistLabel\setName().
| MediaWiki\Watchlist\WatchlistLabel::getId | ( | ) |
Definition at line 29 of file WatchlistLabel.php.
Referenced by MediaWiki\Actions\WatchAction\getFormFields(), and MediaWiki\Watchlist\WatchlistLabelStore\save().
| MediaWiki\Watchlist\WatchlistLabel::getName | ( | ) |
Definition at line 44 of file WatchlistLabel.php.
Referenced by MediaWiki\Watchlist\WatchlistLabelStore\save().
| MediaWiki\Watchlist\WatchlistLabel::getUser | ( | ) |
Definition at line 40 of file WatchlistLabel.php.
| MediaWiki\Watchlist\WatchlistLabel::setId | ( | int | $id | ) |
Definition at line 33 of file WatchlistLabel.php.
Referenced by MediaWiki\Watchlist\WatchlistLabelStore\loadByName().
| MediaWiki\Watchlist\WatchlistLabel::setName | ( | string | $name | ) |
Change the label's name.
| string | $name | The new name. |
Definition at line 53 of file WatchlistLabel.php.
Referenced by MediaWiki\Watchlist\WatchlistLabel\__construct().