$context

From Online Manual

Revision as of 17:42, 8 October 2012 by Emanuele (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$context is a global variable that is mainly used to exchange data from the so called source files and the template system.
The variable can also be used to share data between functions.

It may contain different kind of informations depending on the action the user is performing, the permissions of the user itself and many other factors.