BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
DerivativeResourceLoaderContext Class Reference
Inheritance diagram for DerivativeResourceLoaderContext:
Collaboration diagram for DerivativeResourceLoaderContext:

Public Member Functions

 __construct (ResourceLoaderContext $context)
 
 getModules ()
 
 setModules (array $modules)
 
 getLanguage ()
 
 setLanguage ($language)
 
 getDirection ()
 
 setDirection ($direction)
 
 getSkin ()
 
 setSkin ($skin)
 
 getUser ()
 
 setUser ($user)
 
 getDebug ()
 
 setDebug ($debug)
 
 getOnly ()
 
 setOnly ($only)
 
 getVersion ()
 
 setVersion ($version)
 
 getRaw ()
 
 setRaw ($raw)
 
 getRequest ()
 
 getResourceLoader ()
 
 getContentOverrideCallback ()
 
 setContentOverrideCallback ($callback)
 
- Public Member Functions inherited from ResourceLoaderContext
 __construct (ResourceLoader $resourceLoader, WebRequest $request)
 
 getResourceLoader ()
 
 getRequest ()
 
 getLogger ()
 
 getModules ()
 
 getLanguage ()
 
 getDirection ()
 
 getSkin ()
 
 getUser ()
 
 msg ($key)
 
 getUserObj ()
 
 getDebug ()
 
 getOnly ()
 
 getVersion ()
 
 getRaw ()
 
 getImage ()
 
 getVariant ()
 
 getFormat ()
 
 getImageObj ()
 
 getContentOverrideCallback ()
 
 shouldIncludeScripts ()
 
 shouldIncludeStyles ()
 
 shouldIncludeMessages ()
 
 getHash ()
 

Public Attributes

const INHERIT_VALUE = -1
 

Protected Attributes

 $modules = self::INHERIT_VALUE
 
 $language = self::INHERIT_VALUE
 
 $direction = self::INHERIT_VALUE
 
 $skin = self::INHERIT_VALUE
 
 $user = self::INHERIT_VALUE
 
 $debug = self::INHERIT_VALUE
 
 $only = self::INHERIT_VALUE
 
 $version = self::INHERIT_VALUE
 
 $raw = self::INHERIT_VALUE
 
 $contentOverrideCallback = self::INHERIT_VALUE
 
- Protected Attributes inherited from ResourceLoaderContext
 $resourceLoader
 
 $request
 
 $logger
 
 $skin
 
 $language
 
 $debug
 
 $user
 
 $modules
 
 $only
 
 $version
 
 $raw
 
 $image
 
 $variant
 
 $format
 
 $direction
 
 $hash
 
 $userObj
 
 $imageObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ResourceLoaderContext
static expandModuleNames ($modules)
 
static newDummyContext ()
 

Detailed Description

Allows changing specific properties of a context object, without changing the main one. Inspired by DerivativeContext.

Since
1.24

Member Function Documentation

DerivativeResourceLoaderContext::setContentOverrideCallback (   $callback)
See Also
self::getContentOverrideCallback
Since
1.32
Parameters
callable | null | int$callbackAs per self::getContentOverrideCallback, or self::INHERIT_VALUE
DerivativeResourceLoaderContext::setDebug (   $debug)
Parameters
bool$debug
DerivativeResourceLoaderContext::setDirection (   $direction)
Parameters
string$direction
DerivativeResourceLoaderContext::setLanguage (   $language)
Parameters
string$language
DerivativeResourceLoaderContext::setModules ( array  $modules)
Parameters
string[]$modules
DerivativeResourceLoaderContext::setOnly (   $only)
Parameters
string | null$only
DerivativeResourceLoaderContext::setRaw (   $raw)
Parameters
bool$raw
DerivativeResourceLoaderContext::setSkin (   $skin)
Parameters
string$skin
DerivativeResourceLoaderContext::setUser (   $user)
Parameters
string | null$user
DerivativeResourceLoaderContext::setVersion (   $version)
Parameters
string | null$version

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