/** * Get a forecasting configuration value * @param type $config_key const CONFIG_KEY_* of this class * @return type */ public static function getForecastingConfig($config_key) { if (is_null(self::$forecasting_config)) { self::$forecasting_config = load_config('forecasting'); } return self::$forecasting_config[$config_key]; }