MediaWiki  master
PreSaveTransformParamsValue.php
Go to the documentation of this file.
1 <?php
3 
6 use ParserOptions;
7 
14  private $page;
15 
17  private $user;
18 
20  private $parserOptions;
21 
23  $this->page = $page;
24  $this->user = $user;
25  $this->parserOptions = $parserOptions;
26  }
27 
32  public function getPage(): PageReference {
33  return $this->page;
34  }
35 
40  public function getUser(): UserIdentity {
41  return $this->user;
42  }
43 
48  public function getParserOptions(): ParserOptions {
49  return $this->parserOptions;
50  }
51 }
MediaWiki\Content\Transform\PreSaveTransformParamsValue\__construct
__construct(PageReference $page, UserIdentity $user, ParserOptions $parserOptions)
Definition: PreSaveTransformParamsValue.php:22
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:45
MediaWiki\Content\Transform\PreSaveTransformParamsValue\getParserOptions
getParserOptions()
Definition: PreSaveTransformParamsValue.php:48
MediaWiki\Content\Transform\PreSaveTransformParamsValue\getPage
getPage()
Definition: PreSaveTransformParamsValue.php:32
MediaWiki\Content\Transform\PreSaveTransformParamsValue
Definition: PreSaveTransformParamsValue.php:12
Page\PageReference
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
Definition: PageReference.php:49
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:39
MediaWiki\Content\Transform\PreSaveTransformParamsValue\$user
UserIdentity $user
Definition: PreSaveTransformParamsValue.php:17
MediaWiki\Content\Transform\PreSaveTransformParams
Definition: PreSaveTransformParams.php:12
MediaWiki\Content\Transform\PreSaveTransformParamsValue\$parserOptions
ParserOptions $parserOptions
Definition: PreSaveTransformParamsValue.php:20
MediaWiki\Content\Transform\PreSaveTransformParamsValue\$page
PageReference $page
Definition: PreSaveTransformParamsValue.php:14
MediaWiki\Content\Transform\PreSaveTransformParamsValue\getUser
getUser()
Definition: PreSaveTransformParamsValue.php:40
MediaWiki\Content\Transform
Definition: ContentTransformer.php:2