Source for file controller.php
Documentation is available at controller.php
* @package Joomla.Administrator
* @subpackage com_plugins
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Plugins master display controller.
* @package Joomla.Administrator
* @subpackage com_plugins
* 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.
public function display($cachable =
false, $urlparams =
false)
require_once JPATH_COMPONENT.
'/helpers/plugins.php';
$view =
$this->input->get('view', 'plugins');
$layout =
$this->input->get('layout', 'default');
$id =
$this->input->getInt('extension_id');
if ($view ==
'plugin' &&
$layout ==
'edit' &&
!$this->checkEditId('com_plugins.edit.plugin', $id))
// Somehow the person just went to the form - we don't allow that.
Documentation generated on Tue, 19 Nov 2013 14:57:27 +0100 by phpDocumentor 1.4.3