Source for file controller.php
Documentation is available at controller.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Base controller class for Finder.
* @package Joomla.Administrator
* @var string The default view.
* Method to display a view.
* @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 JController A JController object to support chaining.
public function display($cachable =
false, $urlparams =
array())
include_once JPATH_COMPONENT .
'/helpers/finder.php';
$view =
$this->input->get('view', 'index', 'word');
$layout =
$this->input->get('layout', 'index', 'word');
$f_id =
$this->input->get('filter_id', null, 'int');
if ($view ==
'filter' &&
$layout ==
'edit' &&
!$this->checkEditId('com_finder.edit.filter', $f_id))
// Somehow the person just went to the form - we don't allow that.
Documentation generated on Tue, 19 Nov 2013 14:57:23 +0100 by phpDocumentor 1.4.3