public static function parseSaveDataHsp($key) { if (isset($key)) { $value = "hsp_current_plan"; $tempHsp = new DefineHsp(); $tempHsp->setConfigValue($key, $value); $k1 = $tempHsp->getConfigValue($key); $hspArr = $tempHsp->fetchHsp($key); } else { $hspArr = NULL; } return $hspArr; }