MediaWiki REL1_39
|
Interface for saving and retrieval of Parsoid HTML and Parsoid metadata from storage. More...
Public Member Functions | |
get (ParsoidRenderID $renderId) | |
Retrieve a page bundle (that was previously put in the stash using the ->set() method) from the stash using a unique render ID. | |
set (ParsoidRenderID $renderId, PageBundle $bundle) | |
Stash a PageBundle representing a rendering of a revision at a given point in time. | |
Interface for saving and retrieval of Parsoid HTML and Parsoid metadata from storage.
Definition at line 14 of file ParsoidOutputStash.php.
MediaWiki\Edit\ParsoidOutputStash::get | ( | ParsoidRenderID | $renderId | ) |
Retrieve a page bundle (that was previously put in the stash using the ->set() method) from the stash using a unique render ID.
The page bundle stays in the stash for some time and not guaranteed to be persistent across requests.
ParsoidRenderID | $renderId |
MediaWiki\Edit\ParsoidOutputStash::set | ( | ParsoidRenderID | $renderId, |
PageBundle | $bundle ) |
Stash a PageBundle representing a rendering of a revision at a given point in time.
The given PageBundle can for some time later be retrieved by calling get( $renderId ).
ParsoidRenderID | $renderId | Combination of revision ID and revision's time ID |
PageBundle | $bundle |