<?php /* ====================================================== # Monthly Archive - Joomla! Component v4.3.3 (PRO version) # ------------------------------------------------------- # For Joomla! 3.x # Author: Yiannis Christodoulou (yiannis@web357.eu) # Copyright (©) 2009-2018 Web357. All rights reserved. # License: GNU/GPLv3, http://www.gnu.org/licenses/gpl-3.0.html # Website: https://www.web357.eu/ # Demo: http://demo.web357.eu/?item=monthlyarchive # Support: support@web357.eu # Last modified: 09 Feb 2018, 13:55:18 ========================================================= */ // No direct access defined('_JEXEC') or die; jimport('joomla.application.component.controller'); class MonthlyarchiveController extends JControllerLegacy { public function display($cachable = false, $urlparams = false) { $app = JFactory::getApplication(); $view = $app->input->getCmd('view', 'items'); $app->input->set('view', $view); parent::display($cachable, $urlparams); return $this; } }