• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP FirstendAction类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中FirstendAction的典型用法代码示例。如果您正苦于以下问题:PHP FirstendAction类的具体用法?PHP FirstendAction怎么用?PHP FirstendAction使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了FirstendAction类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
     $this->_tbconfig = unserialize($api_config);
 }
开发者ID:leamiko,项目名称:9k9,代码行数:7,代码来源:tmallAction.class.php


示例2: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $this->_cate_mod = D('zc_cate');
     $this->assign('nav_curr', 'index');
 }
开发者ID:lzstg,项目名称:guangchangwu_web,代码行数:7,代码来源:zhuantiAction.class.php


示例3: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $this->_cate_mod = D('items_cate');
     C('DATA_CACHE_TIME', C('ftx_site_cachetime'));
 }
开发者ID:leamiko,项目名称:9k9,代码行数:7,代码来源:indexAction.class.php


示例4: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->cats_mod = D('article_cate');
     $this->article_mod = M('article');
     $this->cats_list = $this->cats_mod->get_cats();
     $this->assign('acats', $this->cats_list);
 }
开发者ID:leamiko,项目名称:9k9,代码行数:8,代码来源:articleAction.class.php


示例5: _initialize

 public function _initialize()
 {
     parent::_initialize();
     //访问者控制
     if (!$this->visitor->is_login && !in_array(ACTION_NAME, array('login', 'register', 'binding', 'ajax_check'))) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
     $this->_curr_menu(ACTION_NAME);
 }
开发者ID:xiaoliumang,项目名称:zhe800,代码行数:10,代码来源:UsersAction.class.php


示例6: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     //访问者控制
     if (!$this->visitor->is_login) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
 }
开发者ID:leamiko,项目名称:58bitao,代码行数:10,代码来源:ajaxAction.class.php


示例7: _initialize

 public function _initialize()
 {
     parent::_initialize();
     if (!$this->visitor->is_login && !in_array(ACTION_NAME, array('login', 'register', 'binding', 'ajax_check'))) {
         $id = I('id', '', 'intval');
         $iid = I('iid', '', 'trim');
         $url = U('jump/index', array('id' => $id, 'iid' => $iid));
         $this->redirect('user/login', array('ret_url' => $url));
     }
 }
开发者ID:leamiko,项目名称:58bitao,代码行数:10,代码来源:jumpAction.class.php


示例8: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D("items");
     $this->_cate_mod = D('items_cate');
     if (false === ($cate_list = F('cate_list'))) {
         $cate_list = $this->_cate_mod->cate_cache();
     }
     $this->assign('cate_list', $cate_list);
     //ио└Я
 }
开发者ID:leamiko,项目名称:58bitao,代码行数:11,代码来源:indexAction.class.php


示例9: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $info = $this->visitor->get();
     $this->assign('info', $info);
     $this->assign('nav_curr', 'gift');
     if (false === ($cate_list = F('score_item_cate_list'))) {
         $cate_list = D('score_item_cate')->cate_cache();
     }
     $this->assign('cate_list', $cate_list);
 }
开发者ID:jmche,项目名称:qiangmini,代码行数:11,代码来源:giftAction.class.php


示例10: _initialize

 public function _initialize()
 {
     parent::_initialize();
     if (!$this->visitor->is_login) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
     $this->_mod = D('items');
     $this->cid = $_SERVER['HTTP_HOST'];
     $this->_cate_mod = D('items_cate');
     $this->assign('nav_curr', 'index');
 }
开发者ID:xiaoliumang,项目名称:zhe800,代码行数:12,代码来源:shareAction.class.php


示例11: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $this->_cate_mod = D('items_cate');
     $this->assign('nav_curr', 'index');
     //访问者控制
     if (!$this->visitor->is_login && in_array(ACTION_NAME, array('delete', 'comment', 'delcol', 'mycol'))) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
 }
开发者ID:leamiko,项目名称:58bitao,代码行数:12,代码来源:itemAction.class.php


示例12: _initialize

 protected function _initialize()
 {
     parent::_initialize();
     $this->_name = $this->getActionName();
     import("@.ORG.emchat.Easemob");
     $options['client_id'] = 'YXA6LmIQkGABEeSKuZvpqLd4sw';
     $options['client_secret'] = 'YXA6tfRdlpkrAfO5FlPnzIRRZTQNR-Q';
     $options['org_name'] = 'bingley';
     $options['app_name'] = 'canyoutong';
     $this->_emchat_mod = new Easemob($options);
     $this->_groupid = '153727539213239348';
 }
开发者ID:lzstg,项目名称:jingcai,代码行数:12,代码来源:appAction.class.php


示例13: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_name = $this->getActionName();
     $uid = I('uid', '0', 'intval');
     if ($uid) {
         $user_log = M('user_log');
         $data['uid'] = $uid;
         $data['module'] = MODULE_NAME;
         $data['action'] = ACTION_NAME;
         $data['add_time'] = time();
         $user_log->add($data);
     }
 }
开发者ID:lzstg,项目名称:guangchangwu_web,代码行数:14,代码来源:appAction.class.php


示例14: _initialize

 public function _initialize()
 {
     parent::_initialize();
     if (!$this->visitor->is_login) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
     $this->_mod = D('items');
     $this->cid = $_SERVER['HTTP_HOST'];
     $this->_cate_mod = D('items_cate');
     $this->assign('nav_curr', 'index');
     $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
     $this->_ftxconfig = unserialize($api_config);
 }
开发者ID:lzstg,项目名称:guangchangwu_web,代码行数:14,代码来源:baomingAction.class.php


示例15: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     if (C('ftx_site_cache')) {
         $file = 'items_site';
         if (false === ($this->_ftxconfig = S($file))) {
             $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
             $this->_ftxconfig = unserialize($api_config);
             S($file, $this->_ftxconfig);
         }
     } else {
         $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
         $this->_ftxconfig = unserialize($api_config);
     }
 }
开发者ID:leamiko,项目名称:9k9,代码行数:16,代码来源:ajaxAction.class.php


示例16: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $this->_cate_mod = D('items_cate');
     $this->assign('nav_curr', 'index');
     //访问者控制
     if (!$this->visitor->is_login && in_array(ACTION_NAME, array('delete', 'comment', 'delcol', 'mycol'))) {
         IS_AJAX && $this->ajaxReturn(0, L('login_please'));
         $this->redirect('user/login');
     }
     if (C('ftx_site_cache')) {
         $file = 'items_site';
         if (false === ($this->_ftxconfig = S($file))) {
             $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
             $this->_ftxconfig = unserialize($api_config);
             S($file, $this->_ftxconfig);
         }
     } else {
         $api_config = M('items_site')->where(array('code' => 'ftxia'))->getField('config');
         $this->_ftxconfig = unserialize($api_config);
     }
 }
开发者ID:lzstg,项目名称:guangchangwu_web,代码行数:23,代码来源:itemAction.class.php


示例17: _initialize

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


示例18: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->item_mod = D('items');
     $this->report_mod = D('report');
 }
开发者ID:leamiko,项目名称:9k9,代码行数:6,代码来源:ju_reportsAction.class.php


示例19: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->_mod = D('items');
     $this->_cate_mod = D('items_cate');
 }
开发者ID:jmche,项目名称:qiangmini,代码行数:6,代码来源:jiuAction.class.php


示例20: _initialize

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



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP FixtureBuilder类代码示例发布时间:2022-05-23
下一篇:
PHP Firm类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap