Manual:DerivativeContext.php

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎日本語

Details[edit]

DerivativeContext.php file contains the DerivativeContext class, an IContextSource implementation which will inherit context from another source but allow individual pieces of context to be changed locally.

Examples[edit]

A ContextSource that can inherit from the main RequestContext but have a different Title instance set on it.