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


PHP EnmasseHelper::getDeliveryPersons方法代码示例

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


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

示例1: display

 public function display($tpl = null)
 {
     $task = JRequest::getWord('task');
     TOOLBAR_enmasse::_SMENU();
     TOOLBAR_enmasse::_PARTIAL_ORDER();
     $filter = JRequest::getVar('filter', array());
     // Weird that only this will caused warning...
     if (!isset($filter['deal_name'])) {
         $filter['deal_name'] = "";
     }
     if (!isset($filter['deal_code'])) {
         $filter['deal_code'] = "";
     }
     if (!isset($filter['status'])) {
         $filter['status'] = "";
     }
     if (!isset($filter['year'])) {
         $filter['year'] = "";
     }
     if (!isset($filter['month'])) {
         $filter['month'] = "";
     }
     //filter partial order
     $filter['partial'] = true;
     JRequest::setVar('filter', $filter);
     $oOrderModel = JModel::getInstance('order', 'enmasseModel');
     $orderList = $oOrderModel->search($filter['status'], $filter['deal_code'], $filter['deal_name'], "created_at", "DESC", true);
     $pagination = $oOrderModel->getPagination();
     $this->statusList = EnmasseHelper::$ORDER_STATUS_LIST;
     $this->filter = $filter;
     $this->orderList = $orderList;
     $this->pagination = $pagination;
     $this->deliveryPersons = EnmasseHelper::getDeliveryPersons();
     parent::display($tpl);
 }
开发者ID:marsa1985,项目名称:kazabiz,代码行数:35,代码来源:view.html.php


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