@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | /** |
| 14 | 14 | * Get SQL query part for filter used |
| 15 | 15 | * @param Array $filter the filter |
| 16 | - * @return Array the SQL part |
|
| 16 | + * @return string the SQL part |
|
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | 19 | public function getFilter($filter = array(),$where = false,$and = false) { |
@@ -566,25 +566,6 @@ discard block |
||
| 566 | 566 | * |
| 567 | 567 | * @param String $fammarine_id the ID |
| 568 | 568 | * @param String $ident the marine ident |
| 569 | - * @param String $departure_airport_icao the departure airport |
|
| 570 | - * @param String $arrival_airport_icao the arrival airport |
|
| 571 | - * @param String $latitude latitude of flight |
|
| 572 | - * @param String $longitude latitude of flight |
|
| 573 | - * @param String $waypoints waypoints of flight |
|
| 574 | - * @param String $heading heading of flight |
|
| 575 | - * @param String $groundspeed speed of flight |
|
| 576 | - * @param String $date date of flight |
|
| 577 | - * @param String $departure_airport_time departure time of flight |
|
| 578 | - * @param String $arrival_airport_time arrival time of flight |
|
| 579 | - * @param String $squawk squawk code of flight |
|
| 580 | - * @param String $route_stop route stop of flight |
|
| 581 | - * @param String $highlight highlight or not |
|
| 582 | - * @param String $ModeS ModesS code of flight |
|
| 583 | - * @param String $registration registration code of flight |
|
| 584 | - * @param String $pilot_id pilot id of flight (for virtual airlines) |
|
| 585 | - * @param String $pilot_name pilot name of flight (for virtual airlines) |
|
| 586 | - * @param String $verticalrate vertival rate of flight |
|
| 587 | - * @return String success or false |
|
| 588 | 569 | */ |
| 589 | 570 | public function addMarineData($fammarine_id = '', $ident = '', $latitude = '', $longitude = '', $heading = '', $groundspeed = '', $date = '', $mmsi = '',$type = '',$typeid = '',$imo = '',$callsign = '',$arrival_code = '',$arrival_date = '',$status = '',$statusid = '',$format_source = '', $source_name = '') |
| 590 | 571 | { |
@@ -1467,7 +1448,7 @@ discard block |
||
| 1467 | 1448 | /** |
| 1468 | 1449 | * Parses the direction degrees to working |
| 1469 | 1450 | * |
| 1470 | - * @param Float $direction the direction in degrees |
|
| 1451 | + * @param integer $direction the direction in degrees |
|
| 1471 | 1452 | * @return Array the direction information |
| 1472 | 1453 | * |
| 1473 | 1454 | */ |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * Get SQL query part for filter used |
| 16 | 16 | * @param Array $filter the filter |
| 17 | - * @return Array the SQL part |
|
| 17 | + * @return string the SQL part |
|
| 18 | 18 | */ |
| 19 | 19 | public function getFilter($filter = array(),$where = false,$and = false) { |
| 20 | 20 | global $globalFilter, $globalStatsFilters, $globalFilterName, $globalDBdriver; |
@@ -794,10 +794,6 @@ discard block |
||
| 794 | 794 | * |
| 795 | 795 | * @param String $fammarine_id the ID from flightaware |
| 796 | 796 | * @param String $ident the flight ident |
| 797 | - * @param String $aircraft_icao the aircraft type |
|
| 798 | - * @param String $departure_airport_icao the departure airport |
|
| 799 | - * @param String $arrival_airport_icao the arrival airport |
|
| 800 | - * @return String success or false |
|
| 801 | 797 | * |
| 802 | 798 | */ |
| 803 | 799 | public function addLiveMarineData($fammarine_id = '', $ident = '', $latitude = '', $longitude = '', $heading = '', $groundspeed = '', $date = '', $putinarchive = false, $mmsi = '',$type = '',$typeid = '',$imo = '', $callsign = '',$arrival_code = '',$arrival_date = '',$status = '',$statusid = '',$noarchive = false,$format_source = '', $source_name = '', $over_country = '') |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Get SQL query part for filter used |
| 16 | 16 | * @param Array $filter the filter |
| 17 | - * @return Array the SQL part |
|
| 17 | + * @return string the SQL part |
|
| 18 | 18 | */ |
| 19 | 19 | public function getFilter($filter = array(),$where = false,$and = false) { |
| 20 | 20 | global $globalFilter, $globalStatsFilters, $globalFilterName, $globalDBdriver; |