本文整理匯總了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'];
}