當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。