本文整理汇总了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);
}
示例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);
}
示例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');
}
示例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);
}
示例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');
}
示例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);
}
示例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);
}
示例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);
}
}
示例9: lists
public function lists()
{
$this->assign('add_button', false);
$model = $this->getModel();
parent::common_lists($model);
}
示例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'));
}
示例11: credit
function credit()
{
$model = $this->getModel('credit_data');
$map['token'] = get_token();
session('common_condition', $map);
parent::common_lists($model, 0, 'Addons/lists');
}
示例12: lists
public function lists()
{
$this->assign('add_button', false);
//$this->assign('del_button',false);
parent::common_lists($this->model);
}
示例13: lists
public function lists()
{
$normal_tips = '本插件须要服务号认证才能使用';
$this->assign('normal_tips', $normal_tips);
parent::common_lists($this->model);
}
示例14: lists
public function lists()
{
$model = $this->getModel($this->table);
parent::common_lists($model);
}