@@ -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 | { |
@@ -557,8 +562,6 @@ discard block |
||
| 557 | 562 | * Update arrival marine data |
| 558 | 563 | * |
| 559 | 564 | * @param String $fammarine_id the ID |
| 560 | - * @param String $ident the marine ident |
|
| 561 | - * @return String success or false |
|
| 562 | 565 | * |
| 563 | 566 | */ |
| 564 | 567 | public function updateArrivalPortNameMarineData($fammarine_id = '', $arrival_code = '',$fromsource = NULL) |
@@ -628,25 +631,6 @@ discard block |
||
| 628 | 631 | * |
| 629 | 632 | * @param String $fammarine_id the ID |
| 630 | 633 | * @param String $ident the marine ident |
| 631 | - * @param String $departure_airport_icao the departure airport |
|
| 632 | - * @param String $arrival_airport_icao the arrival airport |
|
| 633 | - * @param String $latitude latitude of flight |
|
| 634 | - * @param String $longitude latitude of flight |
|
| 635 | - * @param String $waypoints waypoints of flight |
|
| 636 | - * @param String $heading heading of flight |
|
| 637 | - * @param String $groundspeed speed of flight |
|
| 638 | - * @param String $date date of flight |
|
| 639 | - * @param String $departure_airport_time departure time of flight |
|
| 640 | - * @param String $arrival_airport_time arrival time of flight |
|
| 641 | - * @param String $squawk squawk code of flight |
|
| 642 | - * @param String $route_stop route stop of flight |
|
| 643 | - * @param String $highlight highlight or not |
|
| 644 | - * @param String $ModeS ModesS code of flight |
|
| 645 | - * @param String $registration registration code of flight |
|
| 646 | - * @param String $pilot_id pilot id of flight (for virtual airlines) |
|
| 647 | - * @param String $pilot_name pilot name of flight (for virtual airlines) |
|
| 648 | - * @param String $verticalrate vertival rate of flight |
|
| 649 | - * @return String success or false |
|
| 650 | 634 | */ |
| 651 | 635 | 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 = '') |
| 652 | 636 | { |
@@ -1236,6 +1220,7 @@ discard block |
||
| 1236 | 1220 | /** |
| 1237 | 1221 | * Counts all hours |
| 1238 | 1222 | * |
| 1223 | + * @param string $orderby |
|
| 1239 | 1224 | * @return Array the hour list |
| 1240 | 1225 | * |
| 1241 | 1226 | */ |
@@ -1587,7 +1572,7 @@ discard block |
||
| 1587 | 1572 | /** |
| 1588 | 1573 | * Parses the direction degrees to working |
| 1589 | 1574 | * |
| 1590 | - * @param Float $direction the direction in degrees |
|
| 1575 | + * @param integer $direction the direction in degrees |
|
| 1591 | 1576 | * @return Array the direction information |
| 1592 | 1577 | * |
| 1593 | 1578 | */ |