MediaWiki REL1_40
|
Stash for Parsoid output and associated data as needed to perform selective serialization (aka "selser") of modified HTML. More...
Inherited by MediaWiki\Edit\SimpleParsoidOutputStash.
Public Member Functions | |
get (ParsoidRenderID $renderId) | |
Retrieve a SelserContext representing a rendering of a revision at a given point in time, along with information about the content the rendering was based on. | |
set (ParsoidRenderID $renderId, SelserContext $selserContext) | |
Stash a SelserContext representing a rendering of a revision at a given point in time, along with information about the content the rendering was based on. | |
Stash for Parsoid output and associated data as needed to perform selective serialization (aka "selser") of modified HTML.
Definition at line 17 of file ParsoidOutputStash.php.
MediaWiki\Edit\ParsoidOutputStash::get | ( | ParsoidRenderID | $renderId | ) |
Retrieve a SelserContext representing a rendering of a revision at a given point in time, along with information about the content the rendering was based on.
If a SelserContext was stahed using the set() method not too long ago, it can be expected to be returned from this method.
ParsoidRenderID | $renderId |
Implemented in MediaWiki\Edit\SimpleParsoidOutputStash.
MediaWiki\Edit\ParsoidOutputStash::set | ( | ParsoidRenderID | $renderId, |
SelserContext | $selserContext ) |
Stash a SelserContext representing a rendering of a revision at a given point in time, along with information about the content the rendering was based on.
A SelserContext stashed by calling this method can for some time be retrieved by calling the get() method.
ParsoidRenderID | $renderId | Combination of revision ID and revision's time ID |
SelserContext | $selserContext |
Implemented in MediaWiki\Edit\SimpleParsoidOutputStash.