PATH:
home
/
sparklp6
/
public_html
/
sparklerfilters-org
/
administrator
/
components
/
com_j2xml
<?php /** * @version 3.0.94 controller.php * * @package J2XML * @subpackage com_j2xml * @since 1.5.3 * * @author Helios Ciancio <info@eshiol.it> * @link http://www.eshiol.it * @copyright Copyright (C) 2010-2013 Helios Ciancio. All Rights Reserved * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL v3 * J2XML is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. */ // No direct access defined('_JEXEC') or die; jimport('joomla.application.component.controller'); /** * J2XML master display controller */ class J2XMLController extends JControllerAbstract { /** * Method to display a view. * * @param boolean If true, the view output will be cached * @param array An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}. * * @return JController This object to support chaining. * @since 1.5 */ public function display($cachable = false, $urlparams = false) { require_once JPATH_COMPONENT.'/helpers/j2xml.php'; J2XMLHelper::updateReset(); $view = JRequest::getCmd('view', ''); $layout = JRequest::getCmd('layout', 'default'); $id = JRequest::getInt('id'); // Check for edit form. if ($view == 'website' && $layout == 'edit' && !$this->checkEditId('com_j2xml.edit.website', $id)) { // Somehow the person just went to the form - we don't allow that. $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); $this->setMessage($this->getError(), 'error'); $this->setRedirect(JRoute::_('index.php?option=com_j2xml&view=websites', false)); return false; } elseif ($view == '') { $this->setRedirect(JRoute::_('index.php?option=com_j2xml&view=cpanel', false)); return false; } parent::display(); return $this; } }
[+]
models
[-] j2xml.xml
[edit]
[-] controller.php
[edit]
[+]
views
[-] index.html
[edit]
[+]
helpers
[+]
controllers
[+]
buttons
[-] config.xml
[edit]
[-] j2xml.php
[edit]
[+]
sql
[+]
language
[+]
tables
[+]
..