mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
[LoTW] Removed test code and added comments
This commit is contained in:
parent
93c53c1e1e
commit
e20f1c58ca
@ -414,6 +414,16 @@ class Lotw extends CI_Controller {
|
||||
return $data;
|
||||
}
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Function: loadFromFile
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| $filepath is the ADIF file, $display_view is used to hide the output if its internal script
|
||||
|
|
||||
| Internal function that takes the LoTW ADIF and imports into the log
|
||||
|
|
||||
*/
|
||||
private function loadFromFile($filepath, $display_view = "TRUE")
|
||||
{
|
||||
|
||||
@ -527,6 +537,15 @@ class Lotw extends CI_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Function: lotw_download
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Collects users with LoTW usernames and passwords and runs through them
|
||||
| downloading matching QSOs.
|
||||
|
|
||||
*/
|
||||
function lotw_download() {
|
||||
$this->load->model('user_model');
|
||||
$this->load->model('logbook_model');
|
||||
@ -854,16 +873,6 @@ class Lotw extends CI_Controller {
|
||||
|
||||
}
|
||||
|
||||
public function sat() {
|
||||
$satellite_name_check = $this->lotw_satellite_map('ISS');
|
||||
|
||||
if($satellite_name_check != FALSE) {
|
||||
echo $satellite_name_check;
|
||||
} else {
|
||||
echo "no match";
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
| Function: lotw_satellite_map
|
||||
| Requires: OSCAR Satellite name $satname
|
||||
|
Loading…
Reference in New Issue
Block a user