當前位置: 首頁>>代碼示例>>PHP>>正文


PHP backendAction類代碼示例

本文整理匯總了PHP中backendAction的典型用法代碼示例。如果您正苦於以下問題:PHP backendAction類的具體用法?PHP backendAction怎麽用?PHP backendAction使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了backendAction類的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類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。