public function addGlobalVariables($vars)
    {
        $globalVars = $this->getGlobalVariables();
        if ($globalVars == null || empty($globalVars))
        {
            return $vars;
        }

        return array_merge($vars, $this->getGlobalVariables());
    }
public function addGlobalVariables($vars)
    {
        $globalVars = $this->getGlobalVariables();
        if ($globalVars == null || empty($globalVars))
        {
            return $vars;
        }

        return array_merge($vars, $this->getGlobalVariables());
    }
public function addGlobalVariables ( $ vars ) { $ globalVars = $ this -> getGlobalVariables ( ) ; if ( $ globalVars == null || empty ( $ globalVars ) ) { return $ vars ; } return array_merge ( $ vars , $ this -> getGlobalVariables ( ) ) ; }
Add our variables to the global namespace object

@param array $vars The current variables

@return array The original variables + our own stuff
Add our variables to the global namespace object