Skip to content

Class SimStats

Marcel Haupt edited this page Dec 25, 2016 · 3 revisions

##//member parameter
protected $mysli

##//member functions
public function SimStats(mysqli $mysqli)

//tool functions
public static function timeToString($time)
public function quicksort($seq, $key)

//get functions (return an array or object)
public function getPilotsTable()
public function getWeaponsTable()
public function getPilotsFlightsTable($pilotid = -1)
public function getPilotsAircraftTable($pilotid = -1)
public function getActiveFlight($pilotid)
public function getFlightPath($pilotid, $aircraftid, $search_time, $raw_id)
public function getCurrentFlightPositions()
public function getFlightData($flightid)
public function getLiveRadarMapInfoJSON()
public function getPilotsStatistic($pilotid)
public function getFlightPathMapInfoJSON($flightid)

//echo functions (print something in html) public function echoPilotsTable()
public function echoPilotsFlightsTable($pilotid)
public function echoFlightsTable()
public function echoPilotsAircraftsTable($pilotid)
public function echoAircraftsTable()
public function echoActiveFlight($pilotid)
public function echoPilotStatistic($pilotid)
public function echoWeaponsTable()
public function echoLiveRadarMapScript()
public function echoMapScriptForFlight($flightid)
public function echoFlightDetails($flightid)
public function echoSiteContent()
public function echoUpdateInfo()

Clone this wiki locally