當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Info::getBussLine方法代碼示例

本文整理匯總了PHP中Info::getBussLine方法的典型用法代碼示例。如果您正苦於以下問題:PHP Info::getBussLine方法的具體用法?PHP Info::getBussLine怎麽用?PHP Info::getBussLine使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Info的用法示例。


在下文中一共展示了Info::getBussLine方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: implode

}
$data['provinces'] = implode(',', $proScore);
$data['complaints'] = implode(',', $comScore);
// foreach ($province as $key => $value) {
// 	$data['provinceMap'][$key] = $value['name'];
// }
$data['provinceString'] = '"' . implode('","', $proName) . '"';
$data['provinceString2'] = '"' . implode('","', $comName) . '"';
// }
$data['province'] = Info::getProvince(false);
$data['complaintType'] = Info::getComplaintType('complaint_type', false);
$data['questionType'][1] = Info::getQuestionType(1, 'question_type', true);
$data['questionType'][2] = Info::getQuestionType(2, 'question_type', true);
$data['questionType'][3] = Info::getQuestionType(3, 'question_type', true);
$data['complaintLevel'] = Info::getComplaintLevel('complaint_level', false);
$data['bussLine'] = Info::getBussLine('buss_type', false);
// var_dump($data['bussLine']);
//導出excel下載
if ($_GET['download'] == 1) {
    $downloadStr = array_to_string($data);
    //var_dump($data);exit;
    Common::exportExcel($downloadStr, 'black_list');
    exit;
}
$page_html = Pagination::showPager("custom_analyze.php?class_name={$class_name}&user_name={$user_name}&start_date={$start_date}&end_date={$end_date}", $page_no, PAGE_SIZE, $row_count);
$export_excel = "custom_analyze.php?download=1&class_name={$class_name}&user_name={$user_name}&start_date={$start_date}&end_date={$end_date}";
Template::assign("error", $error);
Template::assign("_POST", $_POST);
Template::assign('_GET', $_GET);
Template::assign("data", $data);
Template::assign("param", $param);
開發者ID:nantmpeter,項目名稱:s-complaints,代碼行數:31,代碼來源:complaints_analyze.php

示例2:

$start = ($page_no - 1) * $page_size;
if ($_GET['download'] == 1) {
    $data['result'] = Complaint::complaintsSearch($param, $start, 0);
} else {
    $data['result'] = Complaint::complaintsSearch($param, $start, $page_size);
}
$row_count = Complaint::complaintsSearchCount($param);
// }
$data['buss_class'] = Info::getProductType();
$data['province'] = Info::getProvince(false);
$data['complaintType'] = Info::getComplaintType('complaint_type', false);
$data['questionType'][1] = Info::getQuestionType(1, 'question_type', true);
$data['questionType'][2] = Info::getQuestionType(2, 'question_type', true);
$data['questionType'][3] = Info::getQuestionType(3, 'question_type', true);
$data['complaintLevel'] = Info::getComplaintLevel('complaint_level', false);
$data['bussType'] = Info::getBussLine('buss_type', true);
//導出excel下載
if ($_GET['download'] == 1) {
    $downloadStr = array_to_string($data);
    //var_dump($data);exit;
    Common::exportExcel($downloadStr, 'black_list');
    exit;
}
$page_html = Pagination::showPager("complaints_search.php?" . $http_query, $page_no, PAGE_SIZE, $row_count);
// $page_html=Pagination::showPager("complaints_search.php?class_name=$class_name&user_name=$user_name&start_date=$start_date&end_date=$end_date&case_id=$case_id&complaint_time=$complaint_time&dispute_phone=$dispute_phone&sp_corp_name=$sp_corp_name",$page_no,PAGE_SIZE,$row_count);
$export_excel = "complaints_search.php?download=1&" . $http_query;
Template::assign("error", $error);
Template::assign("_POST", $_POST);
Template::assign('_GET', $_GET);
Template::assign("data", $data);
Template::assign("param", $param);
開發者ID:nantmpeter,項目名稱:s-complaints,代碼行數:31,代碼來源:complaints_search.php


注:本文中的Info::getBussLine方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。