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


PHP uiBaseFrm::__construct方法代码示例

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


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

示例1: status

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

示例2: user

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

示例3: WeiboOAuth

 function __construct()
 {
     parent::__construct();
     $this->check_login();
     include_once ROOT_PATH . 'lib/class/weibooauth.class.php';
     $this->oauth = new WeiboOAuth(WB_AKEY, WB_SKEY, $_SESSION['keys']['oauth_token'], $_SESSION['keys']['oauth_token_secret']);
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:callback.php

示例4: intval

 function __construct()
 {
     parent::__construct();
     $user_id = intval($this->input['user_id']);
     /*if ($user_id)
     		{
     			header('Location:' . SNS_UCENTER . 'user.php?user_id=' . $user_id);
     		}
     		elseif($this->input['name'])
     		{
     			$this->input['name'] = trim(urlencode($this->input['name']));
     			header('Location:' . SNS_UCENTER . 'user.php?name=' . $this->input['name']);
     		}
     		else
     		{
     			header('Location:' . SNS_UCENTER . 'user.php');
     		}
     		*/
     $this->load_lang('followers');
     $this->load_lang('user');
     $this->load_lang('info');
     include_once ROOT_PATH . 'lib/class/status.class.php';
     include_once ROOT_PATH . 'lib/user/user.class.php';
     include_once ROOT_PATH . 'lib/class/curl.class.php';
     $this->curl = new curl();
     $this->status = new status();
 }
开发者ID:h3len,项目名称:Project,代码行数:27,代码来源:user.php

示例5:

 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         $this->ReportError('对不起,您没有权限进入数据源商店');
     }
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:admin_datasource.php

示例6: status

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

示例7: curl

 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
         $this->ReportError('对不起,您没有权限进入程序发布');
     }
     $this->appstore = new curl('appstore.hogesoft.com:1912', 'admin/');
     $this->appstore->mAutoInput = false;
     $this->product_server = array('host' => 'upgrade.hogesoft.com', 'port' => 233, 'dir' => '');
     if ($this->input['app']) {
         $this->appstore->initPostData();
         $this->appstore->addRequestData('a', 'detail');
         $this->appstore->addRequestData('app', $this->input['app']);
         $appinfo = $this->appstore->request('index.php');
         $appinfo = $appinfo[0];
         $this->appinfo = $appinfo;
         if ($appinfo) {
             $this->tpl->addVar('appinfo', $appinfo);
         }
     }
     if (!$this->input['a']) {
         $this->input['a'] = 'show';
     }
     if (!in_array($this->input['a'], array('show', 'pre_release_all', 'release_all', 'clear_app_version', 'release_all_tpl', 'pre_release_all_tpl')) && !$appinfo) {
         $this->ReportError('指定应用不存在或被删除,无法发布');
     }
 }
开发者ID:h3len,项目名称:Project,代码行数:27,代码来源:admin_appstore.php

示例8: array

 function __construct()
 {
     parent::__construct();
     $this->hosts = array('host' => 'localhost/livsns/api/help', 'port' => '83', 'dir' => '', 'customer' => $this->settings['license']['customer_var']);
     $this->curl = new curl($this->hosts['host'], '', 'kaasdfj823&23^l');
     //	$this->db = hg_checkDB();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:help.php

示例9: unset

 function __construct()
 {
     parent::__construct();
     unset($this->nav);
     $this->tpl->addVar('_nav', $this->nav);
     $this->input['code'] = $_SERVER['CHANNEL_CODE'];
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:login.php

示例10:

 function __construct()
 {
     parent::__construct();
     $this->check_login();
     include_once ROOT_PATH . 'lib/user/user.class.php';
     $this->load_lang("map");
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:map.php

示例11: status

 function __construct()
 {
     parent::__construct();
     //		$this->load_lang('global');
     $this->status = new status();
     $this->info = new user();
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:dispose.php

示例12:

 function __construct()
 {
     parent::__construct();
     if ($this->user['group_type'] != 1) {
         $this->ReportError('对不起,您没有权限管理模块!');
     }
 }
开发者ID:h3len,项目名称:Project,代码行数:7,代码来源:menu.php

示例13:

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

示例14: MibaoCard

 function __construct()
 {
     parent::__construct();
     $appuniqueueid = $this->input['app_uniqueid'];
     //如果是auth应用的话就加载密保卡操作类
     if ($appuniqueueid == 'auth') {
         include_once ROOT_PATH . 'lib/class/MibaoCard.class.php';
         $this->mibao = new MibaoCard();
     }
     if (!$appuniqueueid) {
         $mid = intval($this->input['mid']);
         $sql = 'SELECT app_uniqueid FROM ' . DB_PREFIX . "modules WHERE id='{$mid}'";
         $app = $this->db->query_first($sql);
         if (!$app) {
             $this->ReportError('此应用不存在!');
         }
         $appuniqueueid = $app['app_uniqueid'];
     }
     $sql = 'SELECT * FROM ' . DB_PREFIX . "applications WHERE softvar='{$appuniqueueid}'";
     $app = $this->db->query_first($sql);
     if (!$app) {
         $this->ReportError('此应用不存在!');
     }
     $app['mid'] = $mid;
     $app['dir'] = str_replace($app['admin_dir'], '', $app['dir']);
     $this->app = $app;
 }
开发者ID:h3len,项目名称:Project,代码行数:27,代码来源:settings.php

示例15: video

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


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