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


PHP AdminAction::_initialize方法代码示例

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


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

示例1: _initialize

 public function _initialize()
 {
     parent::_initialize();
     C('TMPL_FILE_NAME', './views/tools/..');
     //模板目录
     $this->DCModel = D('Admin.Datacheck');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:7,代码来源:DatacheckAction.class.php

示例2: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->VideoDB = D('Admin.Video');
     $this->UserVDB = D('Admin.Userview');
     $this->CommDB = D('Admin.Comment');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:7,代码来源:VideoAction.class.php

示例3: _initialize

 public function _initialize()
 {
     parent::_initialize();
     //RBAC 验证接口初始化
     Vendor('Common.Tree');
     //导入通用树型类
 }
开发者ID:jackycgq,项目名称:ThinkPHP_Backend_System,代码行数:7,代码来源:NodeAction.class.php

示例4: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->SpecDB = D('Admin.Special');
     $this->VideoDB = D('Admin.Video');
     $this->InfoDB = D('Admin.Info');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:7,代码来源:SpecialAction.class.php

示例5: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->assign($this->tags_style());
     $this->VideoDB = D('Home.Video');
     $this->InfoDB = D('Home.Info');
 }
开发者ID:skygunner,项目名称:ekucms,代码行数:7,代码来源:HtmlAction.class.php

示例6: _initialize

 public function _initialize()
 {
     parent::_initialize();
     C('TMPL_FILE_NAME', './views/collection/..');
     $this->CModel = D('Admin.CustomCollect');
     $this->RModel = D('Admin.ColRun');
 }
开发者ID:skygunner,项目名称:ekucms,代码行数:7,代码来源:CustomcollectAction.class.php

示例7: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->UserDB = D('Admin.User');
     $this->UserVDB = D('Admin.Userview');
     $this->GbookDB = D('Admin.Gbook');
     $this->CommDB = D('Admin.Comment');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:8,代码来源:UserAction.class.php

示例8: header

 function _initialize()
 {
     parent::_initialize();
     //RBAC 验证接口初始化
     header("Content-type: text/html;charset=utf-8");
     set_time_limit(0);
     //不超时
     ini_set('memory_limit', '512M');
     $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);
 }
开发者ID:jackycgq,项目名称:ThinkPHP_Backend_System,代码行数:15,代码来源:BaksqlAction.class.php

示例9: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Payment' . DIRECTORY_SEPARATOR;
     $this->payment = new Payment($this->file_path);
 }
开发者ID:wjgjb1109,项目名称:huicms,代码行数:6,代码来源:PaymentAction.class.php

示例10: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Oauth' . DIRECTORY_SEPARATOR;
     $this->oauth = new Oauth($this->file_path);
 }
开发者ID:wjgjb1109,项目名称:huicms,代码行数:6,代码来源:OauthAction.class.php

示例11: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->SelfDB = D('Admin.Self');
 }
开发者ID:skygunner,项目名称:ekucms,代码行数:5,代码来源:SelfAction.class.php

示例12: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->InfoDB = D('Admin.Info');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:5,代码来源:InfoAction.class.php

示例13: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->name = $this->_name;
 }
开发者ID:wjgjb1109,项目名称:huicms,代码行数:5,代码来源:AnnounceAction.class.php

示例14: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->UserVDB = D('Admin.Userview');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:5,代码来源:UserviewAction.class.php

示例15: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->MasterDB = D('Admin.Master');
 }
开发者ID:singhvicky,项目名称:pintrest,代码行数:5,代码来源:MasterAction.class.php


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