1
|
<?php
|
2
|
|
3
|
defined('_JEXEC') or die('Access denied');
|
4
|
|
5
|
jimport('joomla.application.component.controller');
|
6
|
|
7
|
class OpenAireController extends JControllerLegacy {
|
8
|
// Construct a new OpenAireController.
|
9
|
// $configuration the configuration to use
|
10
|
public function __construct($configuration = array()) {
|
11
|
parent :: __construct($configuration);
|
12
|
$search = $this -> getModel('search');
|
13
|
|
14
|
$this -> getView('data', 'raw') -> setModel($search);
|
15
|
// view widget uses no model at all
|
16
|
}
|
17
|
}
|
18
|
|