%PDF- %PDF-
| Direktori : /home1/lightco1/www/lightingrepublic.com.au/administrator/components/com_citizens/ |
| Current File : //home1/lightco1/www/lightingrepublic.com.au/administrator/components/com_citizens/controller.php |
<?php
/**
* @version 1.0.0
* @package com_citizens
* @copyright Copyright (C) 2014. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Dhaval <isquare.dhaval@gmail.com> - http://
*/
// No direct access
defined('_JEXEC') or die;
class CitizensController extends JControllerLegacy {
/**
* 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 This object to support chaining.
* @since 1.5
*/
public function display($cachable = false, $urlparams = false) {
require_once JPATH_COMPONENT . '/helpers/citizens.php';
$view = JFactory::getApplication()->input->getCmd('view', 'lightingrepubliccitizenss');
JFactory::getApplication()->input->set('view', $view);
parent::display($cachable, $urlparams);
return $this;
}
}