Source for file controller.php
Documentation is available at controller.php
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Finder Component Controller.
* Method to display a view.
* @param boolean $cachable If true, the view output will be cached. [optional]
* @param array $urlparams An array of safe url parameters and their variable types,
* for valid values see {@link JFilterInput::clean()}. [optional]
* @return JControllerLegacy This object is to support chaining.
public function display($cachable =
false, $urlparams =
array())
// Load plug-in language files.
// Set the default view name and format from the Request.
$viewName =
$input->get('view', 'search', 'word');
$input->set('view', $viewName);
// Don't cache view for search queries
if ($input->get('q') ||
$input->get('f') ||
$input->get('t'))
return parent::display($cachable, $safeurlparams);
Documentation generated on Tue, 19 Nov 2013 14:57:29 +0100 by phpDocumentor 1.4.3