MediaWiki master
MediaWiki\Edit\SelserContext Class Reference

Value object representing contextual information needed by Parsoid for selective serialization ("selser") of modified HTML. More...

Public Member Functions

 __construct (PageBundle $pageBundle, int $revId, ?Content $content=null)
 
 getContent ()
 
 getPageBundle ()
 
 getRevisionID ()
 

Detailed Description

Value object representing contextual information needed by Parsoid for selective serialization ("selser") of modified HTML.

See also
SelserData
Since
1.40

Definition at line 18 of file SelserContext.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Edit\SelserContext::__construct ( PageBundle  $pageBundle,
int  $revId,
?Content  $content = null 
)
Parameters
PageBundle$pageBundle
int$revId
Content | null$content

Definition at line 30 of file SelserContext.php.

Member Function Documentation

◆ getContent()

MediaWiki\Edit\SelserContext::getContent ( )
Returns
Content|null

Definition at line 60 of file SelserContext.php.

◆ getPageBundle()

MediaWiki\Edit\SelserContext::getPageBundle ( )
Returns
PageBundle

Definition at line 46 of file SelserContext.php.

◆ getRevisionID()

MediaWiki\Edit\SelserContext::getRevisionID ( )
Returns
int

Definition at line 53 of file SelserContext.php.


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