Option for SB only on bids; add the new file type #642
This commit is contained in:
@@ -26,6 +26,21 @@ class SimBriefXML extends SimpleXMLElement
|
||||
return str_pad($fl, 3, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the URL to the vmsACARS flight plan file
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getAcarsXmlUrl()
|
||||
{
|
||||
if (!empty($this->fms_downloads->vms)) {
|
||||
$base_url = $this->fms_downloads->directory;
|
||||
return $base_url.$this->fms_downloads->vms->link;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve all of the flightplans
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user