input_deviceinfo();} public static function call_input_type_data($source,$json){ $pars = new JSONParser($json, $source); return $pars->input_data();} //#Imageoverlays public static function call_map_algo_heatmapStd($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new heatmapStd_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_heatmapStd_flag_key($type){ $imggen = new heatmapStd_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_heatmapStd_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new heatmapStd_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_heatmapRect($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new heatmapRect_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_heatmapRect_flag_key($type){ $imggen = new heatmapRect_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_heatmapRect_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new heatmapRect_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_speedmap($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new speedmap_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_speedmap_flag_key($type){ $imggen = new speedmap_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_speedmap_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new speedmap_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_differencemap($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new differencemap_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_differencemap_flag_key($type){ $imggen = new differencemap_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_differencemap_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new differencemap_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_tramlines($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new tramlines_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_tramlines_flag_key($type){ $imggen = new tramlines_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_tramlines_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new tramlines_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_tram($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new tram_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_tram_flag_key($type){ $imggen = new tram_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_tram_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new tram_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_animationTest($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new animationTest_algo(); return $imggen->generateTile($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_animationTest_flag_key($type){ $imggen = new animationTest_algo(); return $imggen->generateMapKey($type);} public static function call_map_algo_animationTest_flag_markers($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new animationTest_algo(); return $imggen->getMarkers($x,$y,$zoom,$time_start,$time_end,$type,$provider);} public static function call_map_algo_animationTest_flag_animation($x,$y,$zoom,$time_start,$time_end,$type,$provider){ $imggen = new animationTest_algo(); return $imggen->getAnimation($x,$y,$zoom,$time_start,$time_end,$type,$provider);} //#Analysis API // insert new bonus area public static function call_analysis_action_barea_mthd_insert($pswd,$json){ return BonusAreaController::insert($pswd, $json);} // get all bonus areas public static function call_analysis_action_barea_mthd_getall(){ return BonusAreaController::getall();} // get all active bonus areas public static function call_analysis_action_barea_mthd_getallactive(){ return BonusAreaController::getallactive();} // within a bonus area? public static function call_analysis_action_barea_mthd_within($lat,$lng,$when){ return BonusAreaController::within($lat, $lng, $when);} // get total statistics public static function call_analysis_action_statistic_mthd_gettotal($useruid,$intval){ return StatisticsController::getTotalUserStatistics($useruid,$intval);} // get series statistics public static function call_analysis_action_statistic_mthd_getseries($useruid){ return StatisticsController::getTotalSeriesStatistics($useruid);} // get 24 map projection public static function call_analysis_action_statistic_mthd_projection24($useruid,$intval){ return StatisticsController::getProjection24($intval, $useruid);} // get own rank public static function call_analysis_action_rank_mthd_get($useruid,$acronym){ return RankController::getRank($useruid, $acronym);} // get own history ranks public static function call_analysis_action_rank_mthd_gethist($useruid,$sort){ return RankController::getRankHistoryByUser($useruid, $sort);} // questions calls public static function call_analysis_action_rank_mthd_is($useruid,$acronym){ return RankController::isRank($useruid, $acronym);} // get all achievements by userUID public static function call_analysis_action_achievement_mthd_getbyuser($useruid){ return AchievementController::getReachedAchievements($useruid);} // get all defined achievements conditions public static function call_analysis_action_achievement_mthd_getallcond($useruid, $acronym){ return AchievementController::getAllAchievementDefinitionCondition($acronym, $useruid);} // get all defined achievements public static function call_analysis_action_achievement_mthd_getalldefs($useruid, $acronym){ return AchievementController::getAllAchievementDefinitionCondition($acronym, $useruid);} // get current ranking all public static function call_analysis_action_ranking_mthd_all($useruid,$last){ return RankingController::getRankingAll($useruid,$last);} // get current ranking own public static function call_analysis_action_ranking_mthd_own($useruid,$last){ return RankingController::getRankingOwn($useruid,$last);} // get explore factor public static function call_analysis_action_data_mthd_explore($lat,$lng,$radius,$endtime){ return DataController::getExplore($lat, $lng, $radius, $endtime);} // get cities by postal code public static function call_analysis_action_data_mthd_citybyzip($zip){ return DataController::queryByZip($zip);} // store registration id public static function call_analysis_action_ctwodm_mthd_register($useruid, $regid, $deviceid){ return MessageController::handleRegistrationId($regid, $useruid, $deviceid);} // fetch new messages public static function call_analysis_action_ctwodm_mthd_fetch($useruid, $last){ return MessageController::fetchAllData($useruid,$last);} // call=locale public static function call_locale($request,$lang){ $starttime = microtime(true); return JsonResult::toString($starttime, \SYSTEM\locale::getStrings($request, $lang));} //TODO remove -> backend public function call_preprocessing1233423DONOTCALL(){ PreprocessAll::process(); } };