MediaWiki  1.33.0
MediaWiki\Block\Restriction\NamespaceRestriction Class Reference
Inheritance diagram for MediaWiki\Block\Restriction\NamespaceRestriction:
Collaboration diagram for MediaWiki\Block\Restriction\NamespaceRestriction:

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
 

Detailed Description

Definition at line 25 of file NamespaceRestriction.php.

Member Function Documentation

◆ matches()

MediaWiki\Block\Restriction\NamespaceRestriction::matches ( \Title  $title)

Member Data Documentation

◆ TYPE

const MediaWiki\Block\Restriction\NamespaceRestriction::TYPE = 'ns'

◆ TYPE_ID

const MediaWiki\Block\Restriction\NamespaceRestriction::TYPE_ID = 2

The documentation for this class was generated from the following file: