MediaWiki master
MediaWiki\Context\MutableContext Interface Reference

Request-dependent objects containers. More...

Inherited by MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

Public Member Functions

 setActionName (string $action)
 
 setAuthority (Authority $authority)
 
 setConfig (Config $config)
 
 setLanguage ( $language)
 
 setOutput (OutputPage $output)
 
 setRequest (WebRequest $request)
 
 setSkin (Skin $skin)
 
 setTitle (Title $title)
 
 setUser (User $user)
 
 setWikiPage (WikiPage $wikiPage)
 

Detailed Description

Request-dependent objects containers.

Since
1.26

Definition at line 38 of file MutableContext.php.

Member Function Documentation

◆ setActionName()

MediaWiki\Context\MutableContext::setActionName ( string $action)
Since
1.38
Parameters
string$action

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setAuthority()

MediaWiki\Context\MutableContext::setAuthority ( Authority $authority)
Stability: unstable
Parameters
Authority$authority

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setConfig()

MediaWiki\Context\MutableContext::setConfig ( Config $config)
Parameters
Config$config

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setLanguage()

MediaWiki\Context\MutableContext::setLanguage ( $language)
Parameters
Language | string$languageLanguage instance or language code

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setOutput()

MediaWiki\Context\MutableContext::setOutput ( OutputPage $output)
Parameters
OutputPage$output

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setRequest()

MediaWiki\Context\MutableContext::setRequest ( WebRequest $request)
Parameters
WebRequest$request

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setSkin()

MediaWiki\Context\MutableContext::setSkin ( Skin $skin)

◆ setTitle()

MediaWiki\Context\MutableContext::setTitle ( Title $title)
Parameters
Title$title

Implemented in MediaWiki\Context\DerivativeContext.

◆ setUser()

MediaWiki\Context\MutableContext::setUser ( User $user)
Parameters
User$user

Implemented in MediaWiki\Context\DerivativeContext, and MediaWiki\Context\RequestContext.

◆ setWikiPage()

MediaWiki\Context\MutableContext::setWikiPage ( WikiPage $wikiPage)

The documentation for this interface was generated from the following file: