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


PHP PageNav::getPageUrlByVars方法代碼示例

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


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

示例1: refuseIntentionList

 public function refuseIntentionList($request, $response)
 {
     /*{{{*/
     //查詢所有bu父組
     $buGroups = DAL::get()->find_all_by_parentid_and_deleted('BuInspectGroup', InspectGroup::DEFAULT_PARENTID, InspectGroup::DELETED_NO);
     $response->buGroups = $buGroups;
     $xpager = new XPager($request->getRequest('nowPage', 1), 25);
     $listAble = DAL::get()->getDao('RefuseIntentionRecord')->init4ListAble($request)->setPager($xpager);
     $ids = $listAble->getIds4ListAble();
     $xpager = $listAble->updatePager($xpager);
     $response->listAble = $listAble;
     $sets = $listAble->find($ids);
     $response->sets = $sets;
     $response->xpager = $xpager;
     //統計每個患者方案數
     $patientIds = array();
     foreach ($sets as $record) {
         $patientIds[] = $record->patientId;
     }
     $response->patientProposalCnts = DAL::get()->queryValidProposalCntByPatientIds('Proposal', $patientIds);
     $currentBaseUrl = '/intention/refuseintentionlist?';
     $varsOfUrl = $listAble->getValuedProperties4ListAble();
     $varsOfUrl['nowPage'] = '';
     $response->pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate(PageNav::getPageUrlByVars($currentBaseUrl, $varsOfUrl)), $xpager->nowPage, $xpager->pageSize, $xpager->total);
 }
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:25,代碼來源:intentioncontroller.php

示例2: showExceptionLogList

 public function showExceptionLogList($request, $response)
 {
     /*{{{*/
     $response->deviceOsList = DAL::get()->queryDeviceOsList('ExceptionLog');
     $response->deviceVersionList = DAL::get()->queryDeviceVersionList('ExceptionLog');
     $response->typeList = DAL::get()->queryExceptionTypeList('ExceptionLog');
     $response->appVersionList = DAL::get()->queryAppVersionList('ExceptionLog');
     $vars = $request->getRequest('vars', $_REQUEST);
     if (empty($vars)) {
         return false;
     }
     $ids = DAL::get()->find_id_list4Search('ExceptionLog', $vars);
     $nowPage = isset($vars['nowPage']) ? $vars['nowPage'] : 1;
     $xpager = new XPager($nowPage, 15);
     $ids = $xpager->splitPage($ids);
     $response->logList = DAL::get()->find('ExceptionLog', $ids);
     $response->vars = $vars;
     $vars['nowPage'] = '';
     $response->xpager = $xpager;
     $response->pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate(PageNav::getPageUrlByVars('/wap/showexceptionloglist?', $vars)), $xpager->nowPage, $xpager->pageSize, $xpager->total);
 }
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:21,代碼來源:wapcontroller.php

示例3: patientInfo4ModelSheet

 /**
  * patientInfo4ModelSheet 
  * 
  * @param mixed $request 
  * @param mixed $response 
  * @access public
  * @return void
  */
 public function patientInfo4ModelSheet($request, $response)
 {
     $options = $this->getModelOptions($request);
     $response->options = $options;
     $nowPage = $request->getRequest('nowpage', 1);
     $modelSheetId = $request->modelSheetId;
     $sheetIds = ModelSheetClient::getInstance()->find_id_by_modelSheetId($nowPage, "10", $modelSheetId);
     $pageInfo = $sheetIds['pageInfo'];
     $patientIds = DAL::get()->queryPatientIdsByQuestionSheetIds("patientquestionsheetref", $sheetIds["ids"]);
     $patients = DAL::get()->find("patient", $patientIds);
     $patientInfos = array();
     foreach ($patients as $patient) {
         $patientInfo = array();
         $patientQuestionSheetRef = DAL::get()->find_by_patientid("patientquestionsheetref", $patient->id);
         $modelQuestionSheetRef = DAL::get()->find_by_modelsheetid_and_questionsheetid("modelquestionsheetref", $modelSheetId, $patientQuestionSheetRef->questionSheet->id);
         $patientInfo["patient"] = $patient;
         $patientInfo["modelCreateTime"] = $modelQuestionSheetRef->ctime;
         $patientInfos[] = $patientInfo;
     }
     $response->patientInfos = $patientInfos;
     $response->pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate(PageNav::getPageUrlByVars('/patientfile/patientinfo4modelsheet?modelSheetId=' . $modelSheetId . '&', $options)), $pageInfo['nowpage'], $pageInfo['pagesize'], $pageInfo['total']);
 }
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:30,代碼來源:patientfilecontroller.php

示例4: noReplyProposalList

 public function noReplyProposalList($request, $response)
 {
     /*{{{*/
     $startTime = $request->startTime;
     $endTime = $request->endTime;
     $response->startTime = $startTime;
     $response->endTime = $endTime;
     $response->inspectorId = $request->inspectorId;
     $nowPage = $request->getRequest('page', 1);
     $pager = new XPager($nowPage, 20);
     list($proposalIds, $pageInfo) = DAL::get()->queryNoReplyList4SpaceAndInspector('proposal', $startTime, $endTime, $response->inspectorId, $request->spaceId, $pager);
     $response->proposals = DAL::get()->find('proposal', $proposalIds);
     $pager->total = $pageInfo['total'];
     $response->pager = $pager;
     $currentBaseUrl = '/proposal/noreplyproposallist?';
     $params = array("startTime" => $startTime, "endTime" => $endTime, "inspectorId" => $response->inspectorId, "spaceId" => $request->spaceId, "page" => '');
     $response->pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate(PageNav::getPageUrlByVars($currentBaseUrl, $params)), $pageInfo['nowpage'], $pageInfo['pagesize'], $pageInfo['total']);
 }
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:18,代碼來源:proposalcontroller.php


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