/** * Retreive a variable from the Gbl. */ public static function get($name, $default = false) { $self = Gbl::get_current(); if (isset($self->stored[$name])) { return $self->stored[$name]; } else { return $default; } }