当前位置: 首页>>代码示例>>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;未经允许,请勿转载。