@@ -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 | |
20 | 20 | public function getFilter($filter = array(),$where = false,$and = false) { |
@@ -467,6 +467,11 @@ discard block |
||
467 | 467 | /** |
468 | 468 | * Add identity |
469 | 469 | * |
470 | + * @param string $mmsi |
|
471 | + * @param string $imo |
|
472 | + * @param string $ident |
|
473 | + * @param string $callsign |
|
474 | + * @param string $type |
|
470 | 475 | */ |
471 | 476 | public function addIdentity($mmsi,$imo,$ident,$callsign,$type) |
472 | 477 | { |
@@ -600,25 +605,6 @@ discard block |
||
600 | 605 | * |
601 | 606 | * @param String $fammarine_id the ID |
602 | 607 | * @param String $ident the marine ident |
603 | - * @param String $departure_airport_icao the departure airport |
|
604 | - * @param String $arrival_airport_icao the arrival airport |
|
605 | - * @param String $latitude latitude of flight |
|
606 | - * @param String $longitude latitude of flight |
|
607 | - * @param String $waypoints waypoints of flight |
|
608 | - * @param String $heading heading of flight |
|
609 | - * @param String $groundspeed speed of flight |
|
610 | - * @param String $date date of flight |
|
611 | - * @param String $departure_airport_time departure time of flight |
|
612 | - * @param String $arrival_airport_time arrival time of flight |
|
613 | - * @param String $squawk squawk code of flight |
|
614 | - * @param String $route_stop route stop of flight |
|
615 | - * @param String $highlight highlight or not |
|
616 | - * @param String $ModeS ModesS code of flight |
|
617 | - * @param String $registration registration code of flight |
|
618 | - * @param String $pilot_id pilot id of flight (for virtual airlines) |
|
619 | - * @param String $pilot_name pilot name of flight (for virtual airlines) |
|
620 | - * @param String $verticalrate vertival rate of flight |
|
621 | - * @return String success or false |
|
622 | 608 | */ |
623 | 609 | 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 = '') |
624 | 610 | { |
@@ -1211,6 +1197,7 @@ discard block |
||
1211 | 1197 | /** |
1212 | 1198 | * Counts all hours |
1213 | 1199 | * |
1200 | + * @param string $orderby |
|
1214 | 1201 | * @return Array the hour list |
1215 | 1202 | * |
1216 | 1203 | */ |
@@ -1562,7 +1549,7 @@ discard block |
||
1562 | 1549 | /** |
1563 | 1550 | * Parses the direction degrees to working |
1564 | 1551 | * |
1565 | - * @param Float $direction the direction in degrees |
|
1552 | + * @param integer $direction the direction in degrees |
|
1566 | 1553 | * @return Array the direction information |
1567 | 1554 | * |
1568 | 1555 | */ |