本文整理匯總了PHP中OperationsData::GetAllAircraft方法的典型用法代碼示例。如果您正苦於以下問題:PHP OperationsData::GetAllAircraft方法的具體用法?PHP OperationsData::GetAllAircraft怎麽用?PHP OperationsData::GetAllAircraft使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類OperationsData
的用法示例。
在下文中一共展示了OperationsData::GetAllAircraft方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: editschedule
public function editschedule()
{
$id = $this->get->id;
$this->set('title', 'Edit Schedule');
$this->set('schedule', SchedulesData::GetSchedule($id));
$this->set('action', 'editschedule');
$this->set('allairlines', OperationsData::GetAllAirlines());
$this->set('allaircraft', OperationsData::GetAllAircraft());
$this->set('allairports', OperationsData::GetAllAirports());
$this->set('flighttypes', Config::Get('FLIGHT_TYPES'));
$this->render('ops_scheduleform.tpl');
}
示例2: editpirep
public function editpirep()
{
$this->set('pirep', PIREPData::GetReportDetails($this->get->pirepid));
$this->set('allairlines', OperationsData::GetAllAirlines());
$this->set('allairports', OperationsData::GetAllAirports());
$this->set('allaircraft', OperationsData::GetAllAircraft());
$this->set('fielddata', PIREPData::GetFieldData($this->get->pirepid));
$this->set('pirepfields', PIREPData::GetAllFields());
$this->set('comments', PIREPData::GetComments($this->get->pirepid));
$this->render('pirep_edit.tpl');
}
示例3: FilePIREPForm
protected function FilePIREPForm($bidid = '')
{
if (!Auth::LoggedIn()) {
$this->set('message', 'You must be logged in to access this feature!');
$this->render('core_error.tpl');
return;
}
$this->set('pilot', Auth::$userinfo->firstname . ' ' . Auth::$userinfo->lastname);
$this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
$this->set('pirepfields', PIREPData::GetAllFields());
if ($bidid != '') {
$this->set('bid', SchedulesData::GetBid($bidid));
// get the bid info
}
$this->set('allairports', OperationsData::GetAllAirports());
$this->set('allairlines', OperationsData::GetAllAirlines(true));
$this->set('allaircraft', OperationsData::GetAllAircraft(true));
$this->render('pirep_new.tpl');
}