本文整理汇总了PHP中AdminAction::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminAction::__construct方法的具体用法?PHP AdminAction::__construct怎么用?PHP AdminAction::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminAction
的用法示例。
在下文中一共展示了AdminAction::__construct方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(){
parent::__construct();
$this->_a = $this->getParam('a');
$this->_m = $this->getParam('m');
$this->assign('a', $this->_a);
$this->assign('m', $this->_m);
$this->_p = $this->getParam('p')?$this->getParam('p'):1;
$this->assign('p', $this->_p);
$this->_model = loadModel('Admin.Rebate');
$this->_keyword = $this->getParam('keyword');
$this->_createtime = $this->getParam('createtime');
$this->_status = $this->getParam('status');
$this->_gendar = $this->getParam('gendar');
$this->_level = $this->getParam('level');
$this->_channel = $this->getParam('channel');
$this->_id = $this->getParam('id');
$this->_openid = $this->getParam('openid');
$this->_end_date = $this->getParam('end_date');
$this->_param = array(
'keyword'=>$this->_keyword ,
'createtime'=>$this->_createtime,
'end_date'=>$this->_end_date,
'status' => $this->_status,
'gendar' => $this->_gendar,
'level'=>$this->_level,
'channel'=>$this->_channel
);
$this->assign('webdata', $this->_param);
}
示例2: __construct
/**
* 构造方法,初始化
*/
public function __construct() {
parent::__construct();
$this->_name = $this->getParam('cname');
$this->_from = $this->getParam('from');
$this->_to = $this->getParam('to');
$this->_status = $this->getParam('cstatus');
$this->_p = $this->getParam('p') ? intval($this->getParam('p')) : 0;
$this->_openid = $this->getParam('copenid');
$this->_usopenid = $this->getParam('openid');
$this->_order_id = $this->getParam('order_id');
$this->_start_date = $this->getParam('start_date');
$this->_end_date = $this->getParam('end_date');
$this->_status1 = $this->getParam('status1');
$this->_status2 = $this->getParam('status2');
$this->_state = $this->getParam('state');
$this->_sex = $this->getParam('sex');
$this->_grade = $this->getParam('grade');
$this->_channel = $this->getParam('channel');
$this->_create_time = $this->getParam('create_time');
$this->_Model = loadModel('Admin.Card');
$this->_IndexModel = loadModel('Index.Cardto');
$this->_Channel = loadModel('Admin.Channel');
$this->_ParModel = loadModel('Admin.Partner');
$this->_CommonModel = loadModel('Common');
$this->_a = $this->getParam('a');
$this->_m = $this->getParam('m');
$this->assign('a', $this->_a);
$this->assign('m', $this->_m);
$this->_param = array(
'name' => $this->_name,
'openid' => $this->_openid,
'cfrom' => $this->_from,
'cto' => $this->_to,
'state' => $this->_state,
'sex' => $this->_sex,
'grade' => $this->_grade,
'code' => $this->getParam('code'),
'end_time' => $this->getParam('end_time'),
'sub_status' => $this->getParam('sub_status'),
'channel' => $this->getParam('channel'),
'card_type' => $this->getParam('card_type'),
'order_id' => $this->_order_id,
'status1' => $this->_status1,
'status2' => $this->_status2,
'create_time' => $this->_create_time,
);
$this->assign('webdata', $this->_param);
}
示例3: __construct
public function __construct() {
parent::__construct();
$this->_a = $this->getParam('a');
$this->_m = $this->getParam('m');
$this->_param = $this->getParam();
$this->assign('a', $this->_a);
$this->assign('m', $this->_m);
$this->_p = $this->getParam('p') ? intval($this->getParam('p')) : 0;
$this->_status = $this->getParam('status');
$this->_keyword = $this->getParam('keyword');
$this->_name = $this->getParam('name');
$this->_id = $this->getParam('id');
$this->_Model = loadModel('Admin.Channel');
$webdata = array(
'keyword'=>$this->_keyword,
'status' => $this->_status,
);
$this->assign('webdata', $webdata);
}
示例4: __construct
public function __construct() {
parent::__construct();
$this->_Model = loadModel("Admin.Manage");
}
示例5: __construct
public function __construct() {
parent::__construct();
}