MediaWiki REL1_39
MutableContext.php
Go to the documentation of this file.
1<?php
22
28interface MutableContext {
29
33 public function setConfig( Config $config );
34
38 public function setRequest( WebRequest $request );
39
43 public function setTitle( Title $title );
44
48 public function setWikiPage( WikiPage $wikiPage );
49
54 public function setActionName( string $action ): void;
55
59 public function setOutput( OutputPage $output );
60
64 public function setUser( User $user );
65
70 public function setAuthority( Authority $authority );
71
75 public function setLanguage( $language );
76
80 public function setSkin( Skin $skin );
81
82}
This is one of the Core classes and should be read at least once by any new developers.
The main skin class which provides methods and properties for all other skins.
Definition Skin.php:48
Represents a title within MediaWiki.
Definition Title.php:49
internal since 1.36
Definition User.php:70
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Base representation for an editable wiki page.
Definition WikiPage.php:62
Interface for configuration instances.
Definition Config.php:30
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:37
Request-dependent objects containers.
setOutput(OutputPage $output)
setWikiPage(WikiPage $wikiPage)
setLanguage( $language)
setRequest(WebRequest $request)
setUser(User $user)
setConfig(Config $config)
setActionName(string $action)
setAuthority(Authority $authority)
setTitle(Title $title)
setSkin(Skin $skin)