MediaWiki REL1_37
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
53 public function setOutput( OutputPage $output );
54
58 public function setUser( User $user );
59
64 public function setAuthority( Authority $authority );
65
69 public function setLanguage( $language );
70
74 public function setSkin( Skin $skin );
75
76}
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:44
Represents a title within MediaWiki.
Definition Title.php:48
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Class representing a MediaWiki article and history.
Definition WikiPage.php:60
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)
setAuthority(Authority $authority)
setTitle(Title $title)
setSkin(Skin $skin)