Global Variables

Global Variables are variables created by Saturn to share certain information about the system with developers and other Saturn processes.

Variable
Type
What's in it?
Example

$SaturnPlugins

array(array())

A list of plugins Saturn has found and attempted to load. Contains the loading status and if they couldn't be loaded, the reason why.

array(2) { ["Example Plugin 1"]=> array(1) { ["Loaded"]=> bool(true) } ["Example Plugin 2"]=> array(2) { ["Loaded"]=> bool(false) ["Reason"]=> string(53) "Plugin is not compatible with this version of Saturn." } }

$ActionList

array(array())

A list of actions that will run.

["RouteRegister"]=> array(1) { [0]=> array(1) { [0]=> array(2) { ["Function"]=> array(2) { [0]=> object(ControlPanel\CPRouter)#11 (0) { } [1]=> string(8) "Register" } ["Data"]=> array(1) { [0]=> object(Saturn\HTTP\Router)#5 (0) { } } } } }

Last updated