MediaWiki
1.33.0
|
Public Member Functions | |
matches (\Title $title) | |
@inheritDoc More... | |
Public Member Functions inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
__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 Attributes | |
const | TYPE = 'ns' |
@inheritDoc More... | |
const | TYPE_ID = 2 |
@inheritDoc More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
static | getType () |
@inheritDoc More... | |
static | getTypeId () |
@inheritDoc More... | |
static | newFromRow (\stdClass $row) |
@inheritDoc More... | |
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.
Referenced by MediaWiki\Tests\Block\BlockRestrictionStoreTest\testMappingNamespaceRestrictionObject().
const MediaWiki\Block\Restriction\NamespaceRestriction::TYPE_ID = 2 |
@inheritDoc
Definition at line 35 of file NamespaceRestriction.php.
Referenced by MediaWiki\Tests\Block\BlockRestrictionStoreTest\testIgnoreNotSupportedTypes().