MediaWiki REL1_39
MediaWiki\Parser\Parsoid\Config\PageContent Class Reference

PageContent implementation for MediaWiki. More...

Inheritance diagram for MediaWiki\Parser\Parsoid\Config\PageContent:
Collaboration diagram for MediaWiki\Parser\Parsoid\Config\PageContent:

Public Member Functions

 __construct (RevisionRecord $rev)
 
 getContent (string $role)
 
 getFormat (string $role)
 
 getModel (string $role)
 
 getRedirectTarget ()
 
 getRoles ()
 
 hasRole (string $role)
 

Detailed Description

PageContent implementation for MediaWiki.

Since
1.39

Definition at line 32 of file PageContent.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Parser\Parsoid\Config\PageContent::__construct ( RevisionRecord  $rev)
Parameters
RevisionRecord$rev

Definition at line 40 of file PageContent.php.

Member Function Documentation

◆ getContent()

MediaWiki\Parser\Parsoid\Config\PageContent::getContent ( string  $role)

Definition at line 78 of file PageContent.php.

◆ getFormat()

MediaWiki\Parser\Parsoid\Config\PageContent::getFormat ( string  $role)

Definition at line 72 of file PageContent.php.

◆ getModel()

MediaWiki\Parser\Parsoid\Config\PageContent::getModel ( string  $role)

Definition at line 66 of file PageContent.php.

◆ getRedirectTarget()

MediaWiki\Parser\Parsoid\Config\PageContent::getRedirectTarget ( )

Definition at line 84 of file PageContent.php.

◆ getRoles()

MediaWiki\Parser\Parsoid\Config\PageContent::getRoles ( )

Definition at line 45 of file PageContent.php.

◆ hasRole()

MediaWiki\Parser\Parsoid\Config\PageContent::hasRole ( string  $role)

Definition at line 50 of file PageContent.php.


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