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

        return array_merge($vars, $this->getGlobalVariables());
    }