• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ThinkUpAuthController类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中ThinkUpAuthController的典型用法代码示例。如果您正苦于以下问题:PHP ThinkUpAuthController类的具体用法?PHP ThinkUpAuthController怎么用?PHP ThinkUpAuthController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: __construct

 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     if (!isset($_POST['grid_export_data'])) {
         $this->is_missing_param = true;
     }
 }
开发者ID:dgw,项目名称:ThinkUp,代码行数:7,代码来源:class.GridExportController.php


示例2: __construct

 /**
  * Constructor
  * @param bool $session_started
  * @return AccountConfigurationController
  */
 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     $this->disableCaching();
     $this->setViewTemplate('account.index.tpl');
     $this->setPageTitle('Configure Your Account');
 }
开发者ID:raycornelius,项目名称:ThinkUp,代码行数:12,代码来源:class.AccountConfigurationController.php


示例3: getLoggedInUser

 /**
  * Return the username specified in the request, or from the session.
  * @return string Username
  */
 protected function getLoggedInUser() {
     if (isset($_POST['un'])) {
         return $_POST['un'];
     }
     if (isset($_GET['un'])) {
         return $_GET['un'];
     }
     return parent::getLoggedInUser();
 }
开发者ID:rgoncalves,项目名称:ThinkUp,代码行数:13,代码来源:class.ThinkUpAuthAPIController.php


示例4: __construct

 public function __construct($session_started=false) {
     parent::__construct($session_started);
     $this->setViewTemplate('session.toggle.tpl');
     foreach ($this->REQUIRED_PARAMS as $param) {
         if (!isset($_GET[$param]) || $_GET[$param] == '' ) {
             $this->addInfoMessage('Missing required parameters.');
             $this->is_missing_param = true;
         }
     }
 }
开发者ID:unruthless,项目名称:ThinkUp,代码行数:10,代码来源:class.TogglePublicInstanceController.php


示例5: __construct

 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     $config = Config::getInstance();
     Utils::defineConstants();
     $this->setViewTemplate(THINKUP_WEBAPP_PATH . 'plugins/facebook/view/auth.tpl');
     $this->setPageTitle('Authorizing Your Facebook Account');
     if (!isset($_GET['sessionKey']) || $_GET['sessionKey'] == '') {
         $this->addErrorMessage('No session key specified.');
         $this->is_missing_param = true;
     }
 }
开发者ID:rayyan,项目名称:ThinkUp,代码行数:12,代码来源:class.FacebookAuthController.php


示例6: __construct

 /**
  * Constructor
  * @param bool $session_started
  * @return InlineViewController
  */
 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     foreach ($this->REQUIRED_PARAMS as $param) {
         if (!isset($_GET[$param]) || $_GET[$param] == '') {
             $this->addInfoMessage('No user data to retrieve.');
             $this->is_missing_param = true;
             $this->setViewTemplate('inline.view.tpl');
         }
     }
     if (!isset($_GET['d'])) {
         $_GET['d'] = "tweets-all";
     }
 }
开发者ID:rayyan,项目名称:ThinkUp,代码行数:19,代码来源:class.GridController.php


示例7: __construct

 public function __construct($session_started=false) {
     parent::__construct($session_started);
     $config = Config::getInstance();
     Utils::defineConstants();
     $this->setViewTemplate(THINKUP_WEBAPP_PATH.'plugins/twitter/view/auth.tpl');
     $this->setPageTitle('Authorizing Your Twitter Account');
     if (!isset($_GET['oauth_token']) || $_GET['oauth_token'] == '' ) {
         $this->addInfoMessage('No OAuth token specified.');
         $this->is_missing_param = true;
     }
     if (!isset($_SESSION['oauth_request_token_secret']) || $_SESSION['oauth_request_token_secret'] == '' ) {
         $this->addInfoMessage('Secret token not set.');
         $this->is_missing_param = true;
     }
 }
开发者ID:rgoncalves,项目名称:ThinkUp,代码行数:15,代码来源:class.TwitterAuthController.php


示例8: __construct

 /**
  * Constructor
  * @param bool $session_started
  * @return UpgradeDatabaseController
  */
 public function __construct($session_started = false)
 {
     if (!getenv('CLI_BACKUP')) {
         parent::__construct($session_started);
     }
 }
开发者ID:randomecho,项目名称:ThinkUp,代码行数:11,代码来源:class.UpgradeDatabaseController.php


示例9: generateView

 /**
  * Generates plugin page options markup - Calls parent::generateView()
  *
  * @return str view markup
  */
 protected function generateView()
 {
     // if we have some p[lugin option elements defined
     // render them and add to the parent view...
     if (count($this->option_elements) > 0) {
         $this->setValues();
         $view_mgr = new ViewManager();
         $view_mgr->disableCaching();
         // assign data
         $view_mgr->assign('option_elements', $this->option_elements);
         $view_mgr->assign('option_elements_json', json_encode($this->option_elements));
         $view_mgr->assign('option_headers', $this->option_headers);
         $view_mgr->assign('option_not_required', $this->option_not_required);
         $view_mgr->assign('option_not_required_json', json_encode($this->option_not_required));
         $view_mgr->assign('option_required_message', $this->option_required_message);
         $view_mgr->assign('option_required_message_json', json_encode($this->option_required_message));
         $view_mgr->assign('option_select_multiple', $this->option_select_multiple);
         $view_mgr->assign('option_select_visible', $this->option_select_visible);
         $view_mgr->assign('plugin_id', $this->plugin_id);
         $view_mgr->assign('user_is_admin', $this->isAdmin());
         $options_markup = '';
         if ($this->profiler_enabled) {
             $view_start_time = microtime(true);
             $options_markup = $view_mgr->fetch(self::OPTIONS_TEMPLATE);
             $view_end_time = microtime(true);
             $total_time = $view_end_time - $view_start_time;
             $profiler = Profiler::getInstance();
             $profiler->add($total_time, "Rendered view (not cached)", false);
         } else {
             $options_markup = $view_mgr->fetch(self::OPTIONS_TEMPLATE);
         }
         $this->addToView('options_markup', $options_markup);
     }
     return parent::generateView();
 }
开发者ID:JWFoxJr,项目名称:ThinkUp,代码行数:40,代码来源:class.PluginConfigurationController.php


示例10: __construct

 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
 }
开发者ID:ngugijames,项目名称:ThinkUp,代码行数:4,代码来源:class.ThinkUpAdminController.php


示例11: __construct

 /**
  * Constructor
  * @param bool $session_started
  * @return UpgradeApplicationController
  */
 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     $this->setViewTemplate('install.upgrade-application.tpl');
 }
开发者ID:JWFoxJr,项目名称:ThinkUp,代码行数:10,代码来源:class.UpgradeApplicationController.php


示例12: __construct

 /**
  * Constructor
  * @param boolean $session_started
  */
 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     $this->post_dao = DAOFactory::getDAO('PostDAO');
     $this->setPageTitle('Post details');
 }
开发者ID:rayyan,项目名称:ThinkUp,代码行数:10,代码来源:class.PostController.php


示例13: __construct

 /**
  * Constructor
  *
  * @param boolean $session_started
  */
 public function __construct($session_started = false)
 {
     parent::__construct($session_started);
     $this->setPageTitle('Private Dashboard');
 }
开发者ID:rayyan,项目名称:ThinkUp,代码行数:10,代码来源:class.PrivateDashboardController.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ThinkUpInsightUnitTestCase类代码示例发布时间:2022-05-23
下一篇:
PHP Think类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap