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


PHP backendAction::_initialize方法代码示例

本文整理汇总了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());
 }
开发者ID:norain2050,项目名称:shiliugang,代码行数:7,代码来源:articleAction.class.php

示例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);
		
    }
开发者ID:royalwang,项目名称:saivi,代码行数:7,代码来源:item_orderAction.class.php

示例3: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_list_mod = M('diyform_list');
     $this->_mflist = D('mflist');
     $this->_mod = D('diyform');
 }
开发者ID:kjzwj,项目名称:jcms,代码行数:7,代码来源:diyformAction.class.php

示例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();
 }
开发者ID:kid2682,项目名称:SMZDM,代码行数:8,代码来源:postAction.class.php

示例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());
 }
开发者ID:kid2682,项目名称:SMZDM,代码行数:8,代码来源:mallAction.class.php

示例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);
 }
开发者ID:weixiang,项目名称:wxshop,代码行数:8,代码来源:itemAction.class.php

示例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);
 }
开发者ID:dlpc,项目名称:wxshoppingmall,代码行数:8,代码来源:itemAction.class.php

示例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');
 }
开发者ID:kjzwj,项目名称:jcms,代码行数:11,代码来源:model_fieldsAction.class.php

示例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);
 }
开发者ID:jackycgq,项目名称:weixinshop,代码行数:17,代码来源:accountAction.class.php

示例10: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('admin_role');
 }
开发者ID:norain2050,项目名称:shiliugang,代码行数:5,代码来源:admin_roleAction.class.php

示例11: _initialize

 public function _initialize()
 {
     parent::_initialize();
 }
开发者ID:yaks,项目名称:weixinshop,代码行数:4,代码来源:templetAction.class.php

示例12: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('menu');
     $this->item_order = M('item_order');
 }
开发者ID:dalinhuang,项目名称:wxMall,代码行数:6,代码来源:indexAction.class.php

示例13: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('score_item');
     $this->_cate_mod = D('score_item_cate');
 }
开发者ID:dlpc,项目名称:weixin_shop,代码行数:6,代码来源:score_itemAction.class.php

示例14: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = M('opr_log');
 }
开发者ID:yaks,项目名称:weixinshop,代码行数:5,代码来源:oprlogAction.class.php

示例15: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('ad');
     $this->_adboard_mod = D('adboard');
 }
开发者ID:dlpc,项目名称:wxshoppingmall,代码行数:6,代码来源:adAction.class.php


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