Source for file controller.php
Documentation is available at controller.php
* @subpackage com_newsfeeds
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Newsfeeds Component Controller
* @subpackage com_newsfeeds
* Method to show a newsfeeds 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)
// Set the default view name and format from the Request.
$vName =
$this->input->get('view', 'categories');
$this->input->set('view', $vName);
if ($user->get('id') ||
($this->input->getMethod() ==
'POST' &&
$vName =
'category' ))
$safeurlparams =
array('id' =>
'INT', 'limit' =>
'UINT', 'limitstart' =>
'UINT', 'filter_order' =>
'CMD', 'filter_order_Dir' =>
'CMD', 'lang' =>
'CMD');
parent::display($cachable, $safeurlparams);
Documentation generated on Tue, 19 Nov 2013 14:57:33 +0100 by phpDocumentor 1.4.3