/** * Default listEntities * * @access public * @param $cachable string * the view output will be cached * @return void */ function display($cachable = false, $urlparams = false) { // Set model state $defaultModel = $this->setModelState('sources'); // Parent construction and view display parent::display($cachable); }
/** * Show configuration * @access public * @param $cachable string * the view output will be cached * @return void */ function display($cachable = false, $urlparams = false) { // Access check. if (!$this->allowAdmin($this->option)) { $this->setRedirect('index.php?option=com_jmap&task=cpanel.display', JTEXT::_('COM_JMAP_ERROR_ALERT_NOACCESS')); return false; } parent::display($cachable); }
/** * Default listEntities * * @access public * @param $cachable string * the view output will be cached * @return void */ public function display($cachable = false, $urlparams = false) { // Access check. if (!$this->user->authorise('jmap.google', $this->option)) { $this->setRedirect('index.php?option=com_jmap&task=cpanel.display', JTEXT::_('COM_JMAP_ERROR_ALERT_NOACCESS')); return false; } // Composer autoloader require_once JPATH_COMPONENT_ADMINISTRATOR . '/framework/composer/autoload_real.php'; ComposerAutoloaderInitfc5c9af51413a149e4084a610a3ab6de::getLoader(); $this->setModelState('google'); parent::display($cachable, $urlparams); }
/** * Show Control Panel * @access public * @return void */ function display($cachable = false, $urlparams = false) { $defaultModel = $this->getModel(); $defaultModel->setState('option', $this->option); // Auto-Refresh menu sources if (!$defaultModel->syncMenuSources()) { // Model set exceptions for something gone wrong, so enqueue exceptions and levels on application object then set redirect and exit $modelExceptions = $defaultModel->getErrors(); foreach ($modelExceptions as $exception) { $this->app->enqueueMessage($exception->getMessage(), $exception->getErrorLevel()); } } $view = $this->getView(); $HTTPClient = new JMapHttp(); $view->set('httpclient', $HTTPClient); parent::display($cachable); }
/** * Display main wizard creation panel for supported extensions * * @param $cachable string * the view output will be cached * @return void */ function display($cachable = false, $urlparams = false) { // Parent construction and view display parent::display($cachable); }
/** * Show Control Panel * * @access public * @param $cachable string * the view output will be cached * @return void */ function display($cachable = false, $urlparams = false) { parent::display(); }