MediaWiki REL1_33
|
Public Member Functions | |
matches (\Title $title) | |
@inheritDoc | |
Public Member Functions inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
__construct ( $blockId, $value) | |
Create Restriction. | |
equals (Restriction $other) | |
@inheritDoc | |
getBlockId () | |
@inheritDoc | |
getHash () | |
@inheritDoc | |
getValue () | |
@inheritDoc | |
setBlockId ( $blockId) | |
@inheritDoc | |
toRow () | |
@inheritDoc | |
Public Attributes | |
const | TYPE = 'ns' |
@inheritDoc | |
const | TYPE_ID = 2 |
@inheritDoc | |
Additional Inherited Members | |
Static Public Member Functions inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
static | getType () |
@inheritDoc | |
static | getTypeId () |
@inheritDoc | |
static | newFromRow (\stdClass $row) |
@inheritDoc | |
Protected Attributes inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
int | $blockId |
int | $value |
Definition at line 25 of file NamespaceRestriction.php.
MediaWiki\Block\Restriction\NamespaceRestriction::matches | ( | \Title | $title | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 40 of file NamespaceRestriction.php.
References Title\getNamespace(), and MediaWiki\Block\Restriction\AbstractRestriction\getValue().
const MediaWiki\Block\Restriction\NamespaceRestriction::TYPE = 'ns' |
@inheritDoc
Definition at line 30 of file NamespaceRestriction.php.
const MediaWiki\Block\Restriction\NamespaceRestriction::TYPE_ID = 2 |
@inheritDoc
Definition at line 35 of file NamespaceRestriction.php.