MediaWiki  master
PreloadTransformParamsValue.php
Go to the documentation of this file.
1 <?php
3 
5 use ParserOptions;
6 
13  private $page;
14 
16  private $params;
17 
19  private $parserOptions;
20 
22  $this->page = $page;
23  $this->parserOptions = $parserOptions;
24  $this->params = $params;
25  }
26 
31  public function getPage(): PageReference {
32  return $this->page;
33  }
34 
39  public function getParams(): array {
40  return $this->params;
41  }
42 
47  public function getParserOptions(): ParserOptions {
48  return $this->parserOptions;
49  }
50 }
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:45
MediaWiki\Content\Transform\PreloadTransformParamsValue\__construct
__construct(PageReference $page, ParserOptions $parserOptions, array $params=[])
Definition: PreloadTransformParamsValue.php:21
MediaWiki\Content\Transform\PreloadTransformParams
Definition: PreloadTransformParams.php:11
Page\PageReference
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
Definition: PageReference.php:49
MediaWiki\Content\Transform\PreloadTransformParamsValue
Definition: PreloadTransformParamsValue.php:11
MediaWiki\Content\Transform\PreloadTransformParamsValue\getPage
getPage()
Definition: PreloadTransformParamsValue.php:31
MediaWiki\Content\Transform\PreloadTransformParamsValue\$params
array $params
Definition: PreloadTransformParamsValue.php:16
MediaWiki\Content\Transform\PreloadTransformParamsValue\$page
PageReference $page
Definition: PreloadTransformParamsValue.php:13
MediaWiki\Content\Transform\PreloadTransformParamsValue\getParserOptions
getParserOptions()
Definition: PreloadTransformParamsValue.php:47
MediaWiki\Content\Transform\PreloadTransformParamsValue\$parserOptions
ParserOptions $parserOptions
Definition: PreloadTransformParamsValue.php:19
MediaWiki\Content\Transform\PreloadTransformParamsValue\getParams
getParams()
Definition: PreloadTransformParamsValue.php:39
MediaWiki\Content\Transform
Definition: ContentTransformer.php:2