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


PHP PilotData::GetFieldData方法代码示例

本文整理汇总了PHP中PilotData::GetFieldData方法的典型用法代码示例。如果您正苦于以下问题:PHP PilotData::GetFieldData方法的具体用法?PHP PilotData::GetFieldData怎么用?PHP PilotData::GetFieldData使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PilotData的用法示例。


在下文中一共展示了PilotData::GetFieldData方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ViewPilotDetails

 protected function ViewPilotDetails()
 {
     //This is for the main tab
     $this->set('pilotinfo', PilotData::GetPilotData($this->get->pilotid));
     $this->set('customfields', PilotData::GetFieldData($this->get->pilotid, true));
     $this->set('allawards', AwardsData::GetPilotAwards($this->get->pilotid));
     $this->set('pireps', PIREPData::GetAllReportsForPilot($this->get->pilotid));
     $this->set('countries', Countries::getAllCountries());
     $this->SetGroupsData($this->get->pilotid);
     // For the PIREP list
     $this->set('pending', false);
     $this->set('load', 'pilotpireps');
     $this->render('pilots_detailtabs.tpl');
 }
开发者ID:rallin,项目名称:phpVMS,代码行数:14,代码来源:PilotAdmin.php

示例2: editprofile

 public function editprofile()
 {
     if (!Auth::LoggedIn()) {
         $this->set('message', 'You must be logged in to access this feature!');
         $this->render('core_error.tpl');
         return;
     }
     $this->set('userinfo', Auth::$userinfo);
     $this->set('customfields', PilotData::GetFieldData(Auth::$pilotid, true));
     $this->set('bgimages', PilotData::GetBackgroundImages());
     $this->set('countries', Countries::getAllCountries());
     $this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
     $this->render('profile_edit.tpl');
 }
开发者ID:ryanunderwood,项目名称:phpVMS,代码行数:14,代码来源:Profile.php

示例3: ViewPilotDetails

 /**
  * PilotAdmin::ViewPilotDetails()
  * 
  * @return
  */
 protected function ViewPilotDetails()
 {
     //This is for the main tab
     if (PilotGroups::group_has_perm(Auth::$usergroups, EDIT_PILOTS) || PilotGroups::group_has_perm(Auth::$usergroups, EDIT_GROUPS) || PilotGroups::group_has_perm(Auth::$usergroups, EDIT_AWARDS) || PilotGroups::group_has_perm(Auth::$usergroups, MODERATE_PIREPS)) {
         $this->set('pilotinfo', PilotData::GetPilotData($this->get->pilotid));
         $this->set('customfields', PilotData::GetFieldData($this->get->pilotid, true));
         $this->set('allawards', AwardsData::GetPilotAwards($this->get->pilotid));
         $this->set('pireps', PIREPData::GetAllReportsForPilot($this->get->pilotid));
         $this->set('countries', Countries::getAllCountries());
         $this->SetGroupsData($this->get->pilotid);
         // For the PIREP list
         $this->set('pending', false);
         $this->set('load', 'pilotpireps');
         $this->render('pilots_detailtabs.php');
     } else {
         Debug::showCritical('Unauthorized access - Invalid Permissions.');
         die;
     }
 }
开发者ID:phpmods,项目名称:phpvms_5.5.x,代码行数:24,代码来源:PilotAdmin.php


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