本文整理汇总了PHP中backendAction::_initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP backendAction::_initialize方法的具体用法?PHP backendAction::_initialize怎么用?PHP backendAction::_initialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类backendAction
的用法示例。
在下文中一共展示了backendAction::_initialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('article');
$this->_cate_mod = D('article_cate');
$this->assign('img_dir', $this->_get_imgdir());
}
示例2: _initialize
public function _initialize() {
parent::_initialize();
$this->_mod = D('item_order');
$order_status=array(1=>'待付款',2=>'待发货',3=>'待收货',4=>'完成',5=>'关闭');
$this->assign('order_status',$order_status);
}
示例3: _initialize
public function _initialize()
{
parent::_initialize();
$this->_list_mod = M('diyform_list');
$this->_mflist = D('mflist');
$this->_mod = D('diyform');
}
示例4: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('post');
$this->_cate_mod = D('post_cate');
$this->assign('img_dir', './data/upload/post/');
$this->py = new cls_pinyin();
}
示例5: _initialize
public function _initialize()
{
parent::_initialize();
$this->img_dir = "./data/upload/mall/";
$this->assign('img_dir', $this->img_dir);
$this->assign('cate_list', $this->_get_cate_list());
$this->assign('index_list', get_index());
}
示例6: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('item');
$this->_cate_mod = D('item_cate');
$brandlist = $this->_brand = M('brandlist')->where('status=1')->order('ordid asc,id asc')->select();
$this->assign('brandlist', $brandlist);
}
示例7: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('item');
$this->_cate_mod = D('item_cate');
$brandlist = $this->_brand = M('brandlist')->where(array('status' => 1, 'tokenTall' => $this->getTokenTall()))->order('ordid asc,id asc')->select();
$this->assign('brandlist', $brandlist);
}
示例8: _initialize
public function _initialize()
{
parent::_initialize();
$this->modelid = $this->_request('modelid', 'intval');
!$this->modelid && $this->error(L('model_error'));
$this->mtype = $this->_get('mtype', 'intval', 1);
//1:内容模型,2表单模型
$this->assign('modelid', $this->modelid);
$this->assign('mtype', $this->mtype);
$this->_mod = D('model_fields');
}
示例9: _initialize
public function _initialize()
{
parent::_initialize();
$account_status = array(0 => '已生成,未对账', 1 => '商城已对账,店铺未对账', 2 => '商城未对账,店铺已对账', 3 => '商城已对账,店铺已对账', 4 => '已付款', 5 => '--所有--未对账--', 6 => '--所有--未付款--');
$this->assign('account_status', $account_status);
$this->_mod_setting = D('account_setting');
$this->_mod_bill_mst = D('account_bill_mst');
$this->_mod_bill_dtl = D('account_bill_dtl');
$account_shop = array();
$account_shop_arr = M('item_order')->Distinct(true)->field('tokenTall')->where("tokenTall != ''")->select();
$this->shop_array = $account_shop_arr;
foreach ($account_shop_arr as $valarr) {
$tokenValue = $valarr['tokenTall'];
$account_shop[$tokenValue] = $tokenValue;
}
$this->assign('account_shop', $account_shop);
}
示例10: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('admin_role');
}
示例11: _initialize
public function _initialize()
{
parent::_initialize();
}
示例12: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('menu');
$this->item_order = M('item_order');
}
示例13: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('score_item');
$this->_cate_mod = D('score_item_cate');
}
示例14: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = M('opr_log');
}
示例15: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('ad');
$this->_adboard_mod = D('adboard');
}