MediaWiki
1.33.0
|
Public Member Functions | |
__construct ( $blockId, $value) | |
Create Restriction. More... | |
equals (Restriction $other) | |
@inheritDoc More... | |
getBlockId () | |
@inheritDoc More... | |
getHash () | |
@inheritDoc More... | |
getValue () | |
@inheritDoc More... | |
setBlockId ( $blockId) | |
@inheritDoc More... | |
toRow () | |
@inheritDoc More... | |
Public Member Functions inherited from MediaWiki\Block\Restriction\Restriction | |
matches (\Title $title) | |
Determine if a restriction matches a given title. More... | |
Static Public Member Functions | |
static | getType () |
@inheritDoc More... | |
static | getTypeId () |
@inheritDoc More... | |
static | newFromRow (\stdClass $row) |
@inheritDoc More... | |
Protected Attributes | |
int | $blockId |
int | $value |
Definition at line 25 of file AbstractRestriction.php.
MediaWiki\Block\Restriction\AbstractRestriction::__construct | ( | $blockId, | |
$value | |||
) |
Create Restriction.
int | $blockId | |
int | $value |
Definition at line 54 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\$blockId, MediaWiki\Block\Restriction\AbstractRestriction\$value, and value.
MediaWiki\Block\Restriction\AbstractRestriction::equals | ( | Restriction | $other | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 118 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\Restriction\getHash(), and MediaWiki\Block\Restriction\AbstractRestriction\getHash().
MediaWiki\Block\Restriction\AbstractRestriction::getBlockId | ( | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 76 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\$blockId.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\toRow().
MediaWiki\Block\Restriction\AbstractRestriction::getHash | ( | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 125 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\getType(), and MediaWiki\Block\Restriction\AbstractRestriction\getValue().
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\equals().
|
static |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 62 of file AbstractRestriction.php.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\getHash().
|
static |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 69 of file AbstractRestriction.php.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\toRow().
MediaWiki\Block\Restriction\AbstractRestriction::getValue | ( | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 92 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\$value.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\getHash(), MediaWiki\Block\Restriction\NamespaceRestriction\matches(), and MediaWiki\Block\Restriction\AbstractRestriction\toRow().
|
static |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Reimplemented in MediaWiki\Block\Restriction\PageRestriction.
Definition at line 99 of file AbstractRestriction.php.
MediaWiki\Block\Restriction\AbstractRestriction::setBlockId | ( | $blockId | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 83 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\$blockId.
MediaWiki\Block\Restriction\AbstractRestriction::toRow | ( | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 107 of file AbstractRestriction.php.
References MediaWiki\Block\Restriction\AbstractRestriction\getBlockId(), MediaWiki\Block\Restriction\AbstractRestriction\getTypeId(), and MediaWiki\Block\Restriction\AbstractRestriction\getValue().
|
protected |
Definition at line 32 of file AbstractRestriction.php.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\__construct(), MediaWiki\Block\Restriction\AbstractRestriction\getBlockId(), and MediaWiki\Block\Restriction\AbstractRestriction\setBlockId().
|
protected |
Definition at line 45 of file AbstractRestriction.php.
Referenced by MediaWiki\Block\Restriction\AbstractRestriction\__construct(), and MediaWiki\Block\Restriction\AbstractRestriction\getValue().