vgaSet
The PHP function vgaSet sets the value of a global variable.
The variable will exist during the current request and can be
accessed from any scope with the vgaGet function.
Use vgaGet and vgaSet to store and retrieve global
variables without worrying about naming collisions with the framework.
string - the Variable Name
mixed - output
function vgaSet($key,$value='') {
$GLOBALS['appdata'][$key]=$value;
}