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


PHP FD::request方法代码示例

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


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

示例1: __construct

 public function __construct()
 {
     $this->doc = JFactory::getDocument();
     $this->config = FD::config();
     $this->app = JFactory::getApplication();
     $this->input = FD::request();
     $this->my = FD::user();
     $this->access = FD::access();
 }
开发者ID:knigherrant,项目名称:decopatio,代码行数:9,代码来源:dependencies.php

示例2: __construct

 public function __construct()
 {
     $this->app = JFactory::getApplication();
     $this->my = FD::user();
     $this->config = FD::config();
     $this->doc = JFactory::getDocument();
     if ($this->doc->getType() == 'ajax') {
         $this->ajax = FD::ajax();
     }
     parent::__construct();
     $this->input = FD::request();
 }
开发者ID:knigherrant,项目名称:decopatio,代码行数:12,代码来源:controller.php

示例3: __construct

 public function __construct($uid, $type)
 {
     // Get the storage path
     $config = FD::config();
     $this->config = $config;
     // Build the path to the storage path
     $container = $this->config->get('files.storage.container');
     $this->storagePath = $container . '/' . $config->get('files.storage.' . strtolower($type) . '.container');
     // Set the current uid and type
     $this->uid = $uid;
     $this->type = $type;
     // Get the current logged in user
     $this->my = FD::user();
     $this->app = JFactory::getApplication();
     $this->input = FD::request();
 }
开发者ID:knigherrant,项目名称:decopatio,代码行数:16,代码来源:abstract.php

示例4: __construct

 public function __construct(SocialTableApp $app, $viewName)
 {
     // Current logged in user
     $this->my = FD::user();
     // The ORM for the app.
     $this->app = $app;
     // Set the view's name.
     $this->viewName = $viewName;
     $this->paths = array('models' => SOCIAL_APPS . '/' . $app->group . '/' . $app->element . '/models', 'tables' => SOCIAL_APPS . '/' . $app->group . '/' . $app->element . '/tables', 'views' => SOCIAL_APPS . '/' . $app->group . '/' . $app->element . '/views', 'config' => SOCIAL_APPS . '/' . $app->group . '/' . $app->element . '/config');
     // Allow themes to be available to the caller.
     $this->theme = FD::themes();
     $this->input = FD::request();
     // Allow app to be available in the theme.
     $this->set('app', $app);
 }
开发者ID:BetterBetterBetter,项目名称:B3App,代码行数:15,代码来源:dependencies.php


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