MediaWiki REL1_33
|
Public Member Functions | |
__construct ( $blockId, $value) | |
Create Restriction. | |
equals (Restriction $other) | |
@inheritDoc | |
getBlockId () | |
@inheritDoc | |
getHash () | |
@inheritDoc | |
getValue () | |
@inheritDoc | |
setBlockId ( $blockId) | |
@inheritDoc | |
toRow () | |
@inheritDoc | |
Public Member Functions inherited from MediaWiki\Block\Restriction\Restriction | |
matches (\Title $title) | |
Determine if a restriction matches a given title. | |
Static Public Member Functions | |
static | getType () |
@inheritDoc | |
static | getTypeId () |
@inheritDoc | |
static | newFromRow (\stdClass $row) |
@inheritDoc | |
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, and MediaWiki\Block\Restriction\AbstractRestriction\$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\AbstractRestriction\getHash(), and MediaWiki\Block\Restriction\Restriction\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 40 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().