Jump to content

Rev - Merge pull request #68 from Vansers/master


Recommended Posts

  • Moderators
Posted

Just a note for everyone who is using the PIREP list, such as recent flights.

To get the pilot code, it would be like this -

$pirep->pcode.''.$pirep->pilotid

Or it doesn't matter really on what you prefer.

$pilotinfo = PilotData::getPilotData($pirep->pilotid);
$pilotid = PilotData::getPilotCode($pilotinfo->code, $pilotinfo->pilotid);
$pilotid.' '.$pilotinfo->firstname.' '.$pilotinfo->lastname

$pcode = pilot code

$code = pirep code

×
×
  • Create New...