/** * Sets the needed static variables * * @return void */ private static function _setStaticVars() { // Gets the instance of the string utilities self::$_str = Woops_String_Utils::getInstance(); // Gets the instance of the configuration object self::$_conf = Woops_Core_Config_Getter::getInstance(); // Sets the XHTML formatting option self::$_formattedOutput = (bool) self::$_conf->getVar('xhtml', 'format'); // Static variables are set self::$_hasStatic = true; }