<?php
/**
* Kunena Component
* @package Kunena.Site
* @subpackage Controllers
*
* @copyright (C) 2008 - 2014 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
**/
defined ( '_JEXEC' ) or die ();
/**
* Kunena Search Controller
*
* @since 2.0
*/
class KunenaControllerSearch extends KunenaController {
public function __construct($config = array()) {
parent::__construct($config);
}
public function results() {
$model = $this->getModel('Search');
$this->app->redirect ( $model->getSearchURL('advsearch', $model->getState('searchwords'),
$model->getState('list.start'), $model->getState('list.limit'), $model->getUrlParams(), false) );
}
}