File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_fabrik/controllers/emailform.php
Back
<?php /** * Fabrik Email From Controller * * @package Joomla.Administrator * @subpackage Fabrik * @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * @since 1.6 */ // No direct access defined('_JEXEC') or die('Restricted access'); jimport('joomla.application.component.controller'); /** * Fabrik Email From Controller * * @package Fabrik * @since 3.0 */ class FabrikAdminControllerEmailform extends JControllerLegacy { /** * Typical view method for MVC based architecture * * This function is provide as a default implementation, in most cases * you will need to override it in your own controllers. * * @param boolean $cachable If true, the view output will be cached * @param array $urlparams An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}. * * @return JControllerLegacy A JControllerLegacy object to support chaining. * * @since 12.2 */ public function display($cachable = false, $urlparams = array()) { $document = JFactory::getDocument(); $app = JFactory::getApplication(); $input = $app->input; $viewName = $input->get('view', 'emailform'); $modelName = 'form'; $viewType = $document->getType(); // Set the default view name from the Request $view = $this->getView($viewName, $viewType); // Push a model into the view (may have been set in content plugin already) if ($model = JModelLegacy::getInstance($modelName, 'FabrikFEModel')) { $view->setModel($model, true); } // Display the view $view->error = $this->getError(); $view->display(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings