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