File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_fabrik/controllers/list.pdf.php
Back
<?php /** * Admin List PDF controller class. * * @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 */ // No direct access defined('_JEXEC') or die('Restricted access'); require_once 'fabcontrollerform.php'; /** * Admin List PDF controller class. * * @package Joomla.Administrator * @subpackage Fabrik * @since 3.0.7 */ class FabrikAdminControllerList extends FabControllerForm { /** * The prefix to use with controller messages. * * @var string */ protected $text_prefix = 'COM_FABRIK_LIST'; /** * Show the lists data in the admin * * @return void */ public function view() { $app = JFactory::getApplication(); $input = $app->input; $cid = $input->get('cid', array(0), 'array'); $cid = $cid[0]; $cid = $input->getInt('listid', $cid); // Grab the model and set its id $model = JModelLegacy::getInstance('List', 'FabrikFEModel'); $model->setState('list.id', $cid); $viewType = JFactory::getDocument()->getType(); // Use the front end list renderer $this->setPath('view', COM_FABRIK_FRONTEND . '/views'); $viewLayout = $input->get('layout', 'default'); $view = $this->getView($this->view_item, $viewType, 'FabrikView'); $view->setModel($model, true); // Set the layout $view->setLayout($viewLayout); JToolBarHelper::title(FText::_('COM_FABRIK_MANAGER_LISTS'), 'list'); $view->display(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings