当前位置: 首页>>代码示例>>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;未经允许,请勿转载。