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


PHP AddonsController::common_lists方法代码示例

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


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

示例1: lists

 public function lists()
 {
     $this->assign('add_button', true);
     $this->assign('del_button', true);
     $this->assign('check_all', false);
     $model = $this->getModel('xytl');
     parent::common_lists($model);
 }
开发者ID:amotewangrong,项目名称:WeiPHP-SWXZS,代码行数:8,代码来源:XytlController.class.php

示例2: lists

 /**
  * 显示微信用户列表数据
  */
 public function lists()
 {
     $this->assign('add_button', false);
     $this->assign('del_button', false);
     $this->assign('check_all', false);
     $model = $this->getModel('follow');
     //var_dump($model);
     parent::common_lists($model);
 }
开发者ID:benhuang1024,项目名称:phpTool,代码行数:12,代码来源:UserCenterController.class.php

示例3: lists

 public function lists()
 {
     $param['ask_id'] = $this->ask_id;
     $param['model'] = $this->model['id'];
     $add_url = U('add', $param);
     $this->assign('add_url', $add_url);
     $map['ask_id'] = $this->ask_id;
     session('common_condition', $map);
     parent::common_lists($this->model, 0, '', $order = 'sort asc,id asc');
 }
开发者ID:ennnnny,项目名称:weiphp3,代码行数:10,代码来源:QuestionController.class.php

示例4: lists

 public function lists()
 {
     $param['hid'] = $this->hid;
     $param['model'] = $this->model['id'];
     $add_url = U('add', $param);
     $this->assign('add_url', $add_url);
     $map['hid'] = $this->hid;
     session('common_condition', $map);
     parent::common_lists($this->model);
 }
开发者ID:Rayuu,项目名称:weiphp,代码行数:10,代码来源:RoomController.class.php

示例5: lists

 public function lists()
 {
     $param['test_id'] = $this->test_id;
     $param['model'] = $this->model['id'];
     $add_url = U('add', $param);
     $this->assign('add_url', $add_url);
     $map['test_id'] = intval($_REQUEST['test_id']);
     session('common_condition', $map);
     parent::common_lists($this->model, 0, '', 'sort asc, id asc');
 }
开发者ID:zqstudio2015,项目名称:myweiphp,代码行数:10,代码来源:QuestionController.class.php

示例6: lists

 /**
  * 显示微信用户列表数据
  */
 public function lists()
 {
     $this->assign('add_button', false);
     $this->assign('del_button', false);
     $this->assign('check_all', false);
     $tongbuyonghuhaoUrl = U('tongbuyonghuhao');
     $normal_tips = '<a href="' . $tongbuyonghuhaoUrl . '">一键同步微信用户</a>';
     $this->assign('normal_tips', $normal_tips);
     $model = $this->getModel('follow');
     parent::common_lists($model);
 }
开发者ID:strivi,项目名称:siples,代码行数:14,代码来源:UserCenterController.class.php

示例7: lists

 /**
  * 显示列表数据
  */
 public function lists()
 {
     $token = get_token();
     $mapinfo['token'] = $token;
     $info = M('member_public')->where($mapinfo)->find();
     $this->assign('info', $info);
     $options = array('token' => 'weiphp', 'appid' => $info['appid'], 'appsecret' => $info['secret']);
     $weObj = new Wechat($options);
     //$accesstoken = $weObj->checkAuth($info['appid'],$info['secret']);
     $togroup = $weObj->getGroup();
     $this->assign('togroup', $togroup['groups']);
     $model = $this->getModel('abcinfosend');
     $list_grids = $this->_list_grid($model);
     parent::common_lists($model);
 }
开发者ID:Backflag,项目名称:weiphp2.0.1202,代码行数:18,代码来源:AbcinfosendController.class.php

示例8: lists

 public function lists()
 {
     $this->assign('add_button', false);
     $this->assign('del_button', false);
     if (I('qrcode_id')) {
         $data = M('scene_qrcode_statistics')->where(array('token' => get_token(), 'qrcode_id' => I('qrcode_id')))->order('id desc')->select();
         // 解析列表规则
         $list_data = $this->_list_grid($this->model);
         $list_data['list_data'] = $data;
         //$this->assign ( 'list_grids', $grids );
         $this->assign($list_data);
         $templateFile || ($templateFile = $model['template_list'] ? $model['template_list'] : '');
         $this->display($templateFile);
     } else {
         parent::common_lists($this->model);
     }
 }
开发者ID:LukeChow1018,项目名称:weixin,代码行数:17,代码来源:StatisticsController.class.php

示例9: lists

 public function lists()
 {
     $this->assign('add_button', false);
     $model = $this->getModel();
     parent::common_lists($model);
 }
开发者ID:benhuang1024,项目名称:phpTool,代码行数:6,代码来源:GetMsgController.class.php

示例10: jpoplists

 /**
  * **************************奖品库设置功能************************************
  */
 public function jpoplists()
 {
     $this->assign('add_url', U('jpopadd', $this->get_param));
     $this->assign('del_url', U('jpopdel', $this->get_param));
     // $this->assign ( 'search_button', false );
     parent::common_lists('xydzp_option', 0, T('Addons:lists'));
 }
开发者ID:ennnnny,项目名称:weiphp3,代码行数:10,代码来源:XydzpController.class.php

示例11: credit

 function credit()
 {
     $model = $this->getModel('credit_data');
     $map['token'] = get_token();
     session('common_condition', $map);
     parent::common_lists($model, 0, 'Addons/lists');
 }
开发者ID:yxz1025,项目名称:weiphp3.0,代码行数:7,代码来源:WapController.class.php

示例12: lists

 public function lists()
 {
     $this->assign('add_button', false);
     //$this->assign('del_button',false);
     parent::common_lists($this->model);
 }
开发者ID:LukeChow1018,项目名称:weixin,代码行数:6,代码来源:AddressManageController.class.php

示例13: lists

 public function lists()
 {
     $normal_tips = '本插件须要服务号认证才能使用';
     $this->assign('normal_tips', $normal_tips);
     parent::common_lists($this->model);
 }
开发者ID:strivi,项目名称:siples,代码行数:6,代码来源:QlbsController.class.php

示例14: lists

 public function lists()
 {
     $model = $this->getModel($this->table);
     parent::common_lists($model);
 }
开发者ID:strivi,项目名称:siples,代码行数:5,代码来源:WxTemplateController.class.php


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