SEARCH:

Global Variables



Andromeda provides some wrapper functions for getting and setting framework variables. The main purpose of these is to allow your application to create variables without worrying about name collisions with framework global variables.

A global variable is one that exists from the beginning to the end of a server request. Once the HTML has been delivered to the browser, the globals are all gone. If you need to store variables that are persistent from request to request, consider using Context Variables.

You can set a Global Variable with vgaSet and retrieve it with vgaGet.

These values can be any valid PHP type.

The framework uses the corresponding functions vgfSet and vgfGet.

Table of Contents

vgaGet
vgaSet
vgfGet
vgfSet