当前位置: 首页>>代码示例>>PHP>>正文


PHP OperationsData::GetAllAircraft方法代码示例

本文整理汇总了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');
 }
开发者ID:ryanunderwood,项目名称:phpVMS,代码行数:12,代码来源:Operations.php

示例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');
 }
开发者ID:ryanunderwood,项目名称:phpVMS,代码行数:11,代码来源:PIREPAdmin.php

示例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');
 }
开发者ID:rallin,项目名称:phpVMS,代码行数:19,代码来源:PIREPS.php


注:本文中的OperationsData::GetAllAircraft方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。