MediaWiki  master
Parser\Parsoid\Config\PageContent Class Reference

PageContent implementation for MediaWiki. More...

Inheritance diagram for Parser\Parsoid\Config\PageContent:
Collaboration diagram for 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()

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

Definition at line 40 of file PageContent.php.

Member Function Documentation

◆ getContent()

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

Definition at line 78 of file PageContent.php.

◆ getFormat()

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

Definition at line 72 of file PageContent.php.

◆ getModel()

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

Definition at line 66 of file PageContent.php.

◆ getRedirectTarget()

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

Definition at line 84 of file PageContent.php.

◆ getRoles()

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

Definition at line 45 of file PageContent.php.

◆ hasRole()

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: