コード例 #1
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Goods');
     $this->tagMod = D('GoodsTag');
     $this->tagClassMod = D('TagClass');
 }
コード例 #2
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Goods');
     $this->goodsBrandModel = M("GoodsBrand");
     $this->goodsDiscountModel = M('Discount');
     $this->goods_class = M('goods_class')->order('gc_sort desc')->select();
 }
コード例 #3
0
 function _initialize()
 {
     parent::_initialize();
     header("Content-type: text/html;charset=utf-8");
     set_time_limit(0);
     //不超时
     ini_set('memory_limit', '500M');
     $this->config = array('path' => C('DB_BACKUP'), 'isCompress' => 0, 'isDownload' => 0);
     $this->dbName = C('DB_NAME');
     //当前数据库名称
     $this->model = new Model();
     //$sql = 'set interactive_timeout=24*3600';                             //空闲多少秒后 断开链接
     //$this->model>execute($sql);
 }
コード例 #4
0
ファイル: MemberController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Member');
 }
コード例 #5
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Express');
 }
コード例 #6
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Notice');
 }
コード例 #7
0
ファイル: GoodsController.class.php プロジェクト: noikiy/sryy
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Goods');
 }
コード例 #8
0
ファイル: WeixinController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
 }
コード例 #9
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Activity');
 }
コード例 #10
0
 public function _initialize()
 {
     parent::_initialize();
     $this->reportModel = D('Report');
     $this->classModel = M('ReportClass');
 }
コード例 #11
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Withdraw');
 }
コード例 #12
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('SystemArticle');
 }
コード例 #13
0
ファイル: CommentController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Comment');
 }
コード例 #14
0
 public function _initialize()
 {
     parent::_initialize();
     $this->art = D('Course');
     $this->art_class = M('Menu');
 }
コード例 #15
0
ファイル: ShopController.class.php プロジェクト: noikiy/sryy
 public function _initialize()
 {
     parent::_initialize();
     $this->ba_mod = M('Store');
 }
コード例 #16
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Settle');
 }
コード例 #17
0
ファイル: AdvController.class.php プロジェクト: noikiy/sryy
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('AdvPosition');
 }
コード例 #18
0
 public function _initialize()
 {
     parent::_initialize();
     $this->linkMod = M('Link');
 }
コード例 #19
0
ファイル: EmailController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->modE = M('Email');
     $this->model = D('EmailStatusView');
 }
コード例 #20
0
 public function _initialize()
 {
     parent::_initialize();
     $this->ba_mod = M('Banner');
 }
コード例 #21
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Groupbuy');
 }
コード例 #22
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('AdvPosition');
     $this->apcode = array('banner' => '首页幻灯片', 'img_nav' => '首页图片导航栏', 'static_img' => '首页静态广告', 'foot-img' => '底部许可证');
 }
コード例 #23
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('VipDiscount');
 }
コード例 #24
0
ファイル: SharingController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->modS = M('Share');
     $this->modV = D('ShareStatusView');
 }
コード例 #25
0
ファイル: OrderController.class.php プロジェクト: noikiy/sryy
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Order');
 }
コード例 #26
0
ファイル: AlbumController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->ac_mod = D('AlbumClass');
     $this->ap_mod = M('AlbumPic');
 }
コード例 #27
0
ファイル: MsgController.class.php プロジェクト: noikiy/wakeup
 public function _initialize()
 {
     parent::_initialize();
     $this->model = M('Message');
     $this->title = '留言管理';
 }
コード例 #28
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Navigation');
 }
コード例 #29
0
ファイル: ArticleController.class.php プロジェクト: noikiy/oa
 public function _initialize()
 {
     parent::_initialize();
     $this->art = D('Article');
     $this->art_class = M('ArticleClass');
 }
コード例 #30
0
 public function _initialize()
 {
     parent::_initialize();
     $this->model = D('Goods');
     $this->goods_class = M('goods_class')->select();
 }