當前位置: 首頁>>代碼示例>>PHP>>正文


PHP adminBase::__construct方法代碼示例

本文整理匯總了PHP中adminBase::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP adminBase::__construct方法的具體用法?PHP adminBase::__construct怎麽用?PHP adminBase::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在adminBase的用法示例。


在下文中一共展示了adminBase::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         //$this->errorOutput(NO_PRIVILEGE);
     }
 }
開發者ID:h3len,項目名稱:Project,代碼行數:7,代碼來源:auth_frm.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/common.php';
     include CUR_CONF_PATH . 'lib/layout.class.php';
     $this->layout = new layout();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:7,代碼來源:layout.php

示例3: __construct

 /**
  * 構造函數
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/mkpublish.class.php';
     $this->obj = new mkpublish();
     include_once CUR_CONF_PATH . 'lib/common.php';
 }
開發者ID:h3len,項目名稱:Project,代碼行數:14,代碼來源:publishsys.php

示例4: __construct

 /**
  * 構造函數
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include site.class.php
  */
 public function __construct()
 {
     parent::__construct();
     $this->pub_config = new publishconfig();
     include CUR_CONF_PATH . 'lib/content.class.php';
     $this->obj = new content();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:14,代碼來源:content_set.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     if (!$this->curl) {
         return array();
     }
 }
開發者ID:h3len,項目名稱:Project,代碼行數:7,代碼來源:membersDataMerge.php

示例6: __construct

 /**
  * 構造函數
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     $this->mPrmsMethods = array('manage' => '管理');
     parent::__construct();
     include CUR_CONF_PATH . 'lib/statistics.class.php';
     $this->obj = new statistics();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:14,代碼來源:statistics.php

示例7: __construct

 /**
  * 構造函數
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/data_source.class.php';
     include CUR_CONF_PATH . 'lib/common.php';
     $this->obj = new dataSource();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:14,代碼來源:data_source_update.php

示例8: user

 function __construct()
 {
     parent::__construct();
     global $config;
     $this->config = $config;
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->mUser = new user();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:upload_video.php

示例9: news

 function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/news.class.php';
     $this->obj = new news();
     include_once ROOT_PATH . 'lib/class/material.class.php';
     $this->mater = new material();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:news.php

示例10:

 function __construct()
 {
     parent::__construct();
     global $config;
     include ROOT_DIR . 'api/video/video_api.php';
     //導入流媒體API
     $this->tvie_video_api = new TVie_video_api($config);
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:rebuild_video_data.php

示例11: __construct

 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/xml_setting.class.php';
     include_once CUR_CONF_PATH . 'lib/source_setting.class.php';
     $this->obj = new xmlSetting();
     $this->source_obj = new sourceSetting();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:xml_setting_update.php

示例12: __construct

 public function __construct()
 {
     parent::__construct();
     require_once CUR_CONF_PATH . 'lib/subway.class.php';
     $this->subway = new subway();
     require_once ROOT_PATH . 'lib/class/news.class.php';
     $this->news = new news();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:subway.php

示例13: __construct

 /**
  * 構造函數
  * @author repheal
  * @category hogesoft
  * @copyright hogesoft
  * @include news.class.php
  */
 public function __construct()
 {
     parent::__construct();
     $this->pubplan = new publishplan();
     $this->pub_content = new publishcontent();
     include CUR_CONF_PATH . 'lib/publish.class.php';
     $this->obj = new publish();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:15,代碼來源:publish.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     include_once CUR_CONF_PATH . 'lib/data_handle.class.php';
     $this->obj = new data_handle();
     $prms_data = array('_action' => 'manger');
     $this->verify_content_prms($prms_data);
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:data_handle_update.php

示例15: __construct

 public function __construct()
 {
     parent::__construct();
     include CUR_CONF_PATH . 'lib/share.class.php';
     $this->obj = new share();
     include CUR_CONF_PATH . 'lib/get_user.class.php';
     $this->get_user = new get_user();
 }
開發者ID:h3len,項目名稱:Project,代碼行數:8,代碼來源:accesstoken.php


注:本文中的adminBase::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。