MediaWiki REL1_33
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
 
- 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
 

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'

@inheritDoc

Definition at line 30 of file NamespaceRestriction.php.

◆ TYPE_ID

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

@inheritDoc

Definition at line 35 of file NamespaceRestriction.php.


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