MediaWiki REL1_33
|
Public Member Functions | |
getTitle () | |
Get Title. | |
matches (\Title $title) | |
@inheritDoc | |
setTitle (\Title $title) | |
Set the title. | |
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 | |
Static Public Member Functions | |
static | newFromRow (\stdClass $row) |
@inheritDoc | |
Static Public Member Functions inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
static | getType () |
@inheritDoc | |
static | getTypeId () |
@inheritDoc | |
Public Attributes | |
const | TYPE = 'page' |
@inheritDoc | |
const | TYPE_ID = 1 |
@inheritDoc | |
Protected Attributes | |
Title bool | $title |
Protected Attributes inherited from MediaWiki\Block\Restriction\AbstractRestriction | |
int | $blockId |
int | $value |
Definition at line 25 of file PageRestriction.php.
MediaWiki\Block\Restriction\PageRestriction::getTitle | ( | ) |
Get Title.
Definition at line 72 of file PageRestriction.php.
References title.
Referenced by MediaWiki\Block\Restriction\PageRestriction\matches().
MediaWiki\Block\Restriction\PageRestriction::matches | ( | \Title | $title | ) |
@inheritDoc
Implements MediaWiki\Block\Restriction\Restriction.
Definition at line 45 of file PageRestriction.php.
References Title\equals(), and MediaWiki\Block\Restriction\PageRestriction\getTitle().
|
static |
@inheritDoc
Reimplemented from MediaWiki\Block\Restriction\AbstractRestriction.
Definition at line 89 of file PageRestriction.php.
References MediaWiki\Block\Restriction\PageRestriction\$title.
MediaWiki\Block\Restriction\PageRestriction::setTitle | ( | \Title | $title | ) |
Set the title.
\\Title | $title |
Definition at line 60 of file PageRestriction.php.
References MediaWiki\Block\Restriction\PageRestriction\$title, and title.
|
protected |
Definition at line 40 of file PageRestriction.php.
Referenced by MediaWiki\Block\Restriction\PageRestriction\newFromRow(), and MediaWiki\Block\Restriction\PageRestriction\setTitle().
const MediaWiki\Block\Restriction\PageRestriction::TYPE = 'page' |
@inheritDoc
Definition at line 30 of file PageRestriction.php.
const MediaWiki\Block\Restriction\PageRestriction::TYPE_ID = 1 |
@inheritDoc
Definition at line 35 of file PageRestriction.php.