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


PHP BaseFrm::__construct方法代码示例

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


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

示例1: curl

 function __construct()
 {
     parent::__construct();
     require_once ROOT_PATH . 'lib/class/curl.class.php';
     $this->curl = new curl($this->settings['media_api']['host'], $this->settings['media_api']['dir']);
     $this->mVod = new curl($this->settings['livmedia_api']['host'], $this->settings['livmedia_api']['dir']);
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:live_backup_update.php

示例2: user

 function __construct()
 {
     parent::__construct();
     include ROOT_DIR . 'lib/user/user.class.php';
     $this->mUser = new user();
     /**/
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:topic.php

示例3:

 function __construct()
 {
     parent::__construct();
     $user = $this->input['user'] ? $this->input['user'] : hg_get_cookie('user');
     $pass = $this->input['pass'] ? $this->input['pass'] : hg_get_cookie('pass');
     $this->setUser($user, $pass);
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:user.class.php

示例4: curl

 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/curl.class.php';
     global $gGlobalConfig;
     $this->curl = new curl($gGlobalConfig['vodapi']['host'], $gGlobalConfig['vodapi']['dir'], $gGlobalConfig['vodapi']['token']);
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:program_record_auto.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/recycle.class.php';
     $this->recycle = new recycle();
     $this->logs = new logs();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:line_channel_update.php

示例6: __construct

 public function __construct()
 {
     parent::__construct();
     $this->mDates = date('2012-01-01');
     include_once ROOT_PATH . 'lib/class/recycle.class.php';
     $this->recycle = new recycle();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:change_plan.class.php

示例7: __construct

 public function __construct()
 {
     parent::__construct();
     $this->interview = new interview();
     $this->pic = new pic();
     $this->check = new check();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:interview.php

示例8: curl

 function __construct()
 {
     parent::__construct();
     global $gGlobalConfig;
     include_once ROOT_PATH . 'lib/class/curl.class.php';
     $this->curl = new curl($gGlobalConfig['App_workbench']['host'], $gGlobalConfig['App_workbench']['dir']);
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:workbench.class.php

示例9:

 function __construct()
 {
     parent::__construct();
     require_once CUR_CONF_PATH . 'lib/reportLib.class.php';
     require_once ROOT_PATH . 'lib/class/team.class.php';
     require_once ROOT_PATH . 'lib/class/activity.class.php';
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:report_update.php

示例10: user

 function __construct()
 {
     parent::__construct();
     //导入视频接口调用封装类
     include_once ROOT_PATH . '/lib/user/user.class.php';
     $this->mUser = new user();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:video_update.php

示例11: __construct

 public function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/material.class.php';
     include_once ROOT_PATH . 'lib/class/livmedia.class.php';
     $this->mMaterial = new material();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:vote_question.class.php

示例12: video

 function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'api/lib/video.class.php';
     $this->mVideo = new video();
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->mUser = new user();
 }
开发者ID:h3len,项目名称:Project,代码行数:8,代码来源:advert.php

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     include_once ROOT_PATH . 'lib/class/recycle.class.php';
     include_once ROOT_PATH . 'lib/class/publishconfig.class.php';
     $this->recycle = new recycle();
     $this->publish_column = new publishconfig();
 }
开发者ID:h3len,项目名称:Project,代码行数:8,代码来源:thread_update.php

示例14: curl

 function __construct()
 {
     parent::__construct();
     require_once ROOT_PATH . 'lib/class/curl.class.php';
     $this->mBackup = new curl($this->settings['liv_mms_api']['host'], $this->settings['liv_mms_api']['dir']);
     require_once CUR_CONF_PATH . 'lib/channel.class.php';
     $this->mChannel = new channels();
 }
开发者ID:h3len,项目名称:Project,代码行数:8,代码来源:channel_chg_plan.php

示例15: user

 function __construct()
 {
     parent::__construct();
     include_once ROOT_DIR . 'lib/user/user.class.php';
     include_once ROOT_DIR . 'lib/class/status.class.php';
     $this->mUser = new user();
     $this->mStatus = new status();
 }
开发者ID:h3len,项目名称:Project,代码行数:8,代码来源:comment_list.php


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