Saturn
Saturn 1.0.0
Saturn 1.0.0
  • Saturn 1.0.0
  • 😁User Guide
    • Settings
      • Maintenance Mode
      • Website Environment
    • Security
      • Good security practices
      • Security Notice
    • System Requirements and Support
    • Update your Server
  • ⚠️Troubleshooting
    • Errors
      • Database Errors
      • Saturn Errors
      • Checksum Issues
  • 🧩Plugins
    • Plugins in Saturn
    • Official Plugins
      • Control Panel
        • User Guide
        • Developer Guide
          • Control Panel Hooks
    • Marketplace Plugins
  • 💻Developer Documentation
    • Getting Started
    • Libraries and Functions
      • AccountManager
        • Permissions
        • UUID
      • DatabaseManager
        • DBMS
          • Sending Database Requests
          • Query Information
          • Database Security
        • Database Actions
      • HookManager
        • Actions
        • Runners
      • HTTP
      • LanguageManager
      • PluginManager
        • Manage Plugin Content
        • Plugin Compatability
        • Check if a plugin is loaded.
        • Fetch Manifest
      • RouteManager
      • SecurityManager
        • Cross-site Request Forgery
        • Cross-site Scripting
      • SessionManager
        • Start and End Sessions
        • Validate Sessions
        • Session Data
      • TestManager
    • Security
    • Plugins
      • How to structure a plugin
      • Manifest
      • APIs
      • Checking for Dependencies
      • Power Features
        • 💤Hibernate
    • Hooks
    • Tests and Profiling
    • Global Variables
Powered by GitBook
On this page
  1. Developer Documentation

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) { } } } } }

PreviousTests and Profiling

Last updated 1 year ago

💻