$context From Online Manual

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.