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

PageContent implementation for MediaWiki. More...

Inherits IPageContent.

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

Public Member Functions

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

Detailed Description

PageContent implementation for MediaWiki.


Definition at line 31 of file PageContent.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 37 of file PageContent.php.

Member Function Documentation

◆ getContent()

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

Definition at line 75 of file PageContent.php.

◆ getFormat()

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

Definition at line 69 of file PageContent.php.

◆ getModel()

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

Definition at line 63 of file PageContent.php.

◆ getRoles()

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

Definition at line 42 of file PageContent.php.

◆ hasRole()

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

Definition at line 47 of file PageContent.php.

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