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


PHP PageModel::GetProcess方法代码示例

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


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

示例1: Get

 public function Get($param)
 {
     $data = parent::GetProcess($param);
     $this->id = $data['pa_id'];
     $this->name = $data['pa_name'];
     $this->url_friendly = $data['url_friendly'];
     $this->description = $data['pa_description'];
     $this->description_metatag = $this->ConvertStringtoMetatag($data['pa_description']);
     $this->phone = $data['pa_phone'];
     $this->address = $data['pa_address'];
     $this->guide = $data['pa_guide'];
     $this->latitude = $data['pa_latitude'];
     $this->longitude = $data['pa_longitude'];
     $this->district_id = $data['district_id'];
     $this->district_name = $data['district_name'];
     $this->amphur_id = $data['amphur_id'];
     $this->amphur_name = $data['amphur_name'];
     $this->province_id = $data['province_id'];
     $this->province_name = $data['province_name'];
     $this->create_time = $data['pa_create_time'];
     $this->Update_time = $data['pa_update_time'];
     $this->visit_time = $data['pa_visit_time'];
     $this->create_time_facebook_format = $data['create_time_facebook_format'];
     $this->update_time_facebook_format = $data['update_time_facebook_format'];
     $this->visit_time_facebook_format = $data['visit_time_facebook_format'];
     $this->create_time_thai_format = $data['create_time_thai_format'];
     $this->update_time_thai_format = $data['update_time_thai_format'];
     $this->visit_time_thai_format = $data['visit_time_thai_format'];
     $this->view = $data['pa_view'];
     $this->read = $data['pa_read'];
     $this->score = $data['pa_score'];
     $this->success = $data['pa_success'];
     $this->type = $data['pa_type'];
     $this->status = $data['pa_status'];
     // Poster or Owner
     $this->poster_id = $data['pe_fb_id'];
     $this->poster_name = $data['pe_fname'] . ' ' . $data['pe_lname'];
     $this->poster_type = $data['pe_type'];
     // Photo Cover
     $this->cover_id = $data['im_id'];
     $this->cover_filename = $data['im_filename'];
     $this->cover_format = $data['im_format'];
 }
开发者ID:jimmy18dev,项目名称:prachindaily,代码行数:43,代码来源:page.controller.php


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