Project

General

Profile

1 14352 thanos.pap
<?php
2
3
defined('_JEXEC') or die('Access denied');
4
5
jimport('joomla.application.component.controller');
6
7 14462 thanos.pap
class OpenAireController extends JController {
8
	// Construct a new OpenAireController.
9
	// $configuration the configuration to use
10
	public function __construct($configuration = array()) {
11
		parent :: __construct($configuration);
12 16133 thanos.pap
$alerts = $this -> getModel('alerts');
13 15092 thanos.pap
		$claim = $this -> getModel('claim');
14
		$search = $this -> getModel('search');
15 14587 thanos.pap
		$statistics = $this -> getModel('statistics');
16 15896 thanos.pap
		$redirect = $this -> getModel('redirect');
17 25039 thanos.pap
		$piwik = $this -> getModel('piwik');
18 17542 thanos.pap
		$this -> getView('advancedsearchdatasources', 'html') -> setModel($search);
19 17665 thanos.pap
		$this -> getView('advancedsearchorganizations', 'html') -> setModel($search);
20 17580 thanos.pap
		$this -> getView('advancedsearchpeople', 'html') -> setModel($search);
21 17569 thanos.pap
		$this -> getView('advancedsearchprojects', 'html') -> setModel($search);
22 17495 thanos.pap
		$this -> getView('advancedsearchpublications', 'html') -> setModel($search);
23 18044 thanos.pap
		$this -> getView('alerts', 'html') -> setModel($alerts);
24 25039 thanos.pap
		$this -> getView('alerts', 'html') -> setModel($piwik);
25 16147 katerina.i
		$this -> getView('article', 'html') -> setModel($search);
26 19426 thanos.pap
		$this -> getView('browsedatasets', 'html') -> setModel($search);
27 17364 thanos.pap
		$this -> getView('browsedatasources', 'html') -> setModel($search);
28 17329 thanos.pap
		$this -> getView('browseorganizations', 'html') -> setModel($search);
29 17260 thanos.pap
		$this -> getView('browsepeople', 'html') -> setModel($search);
30
		$this -> getView('browseprojects', 'html') -> setModel($search);
31
		$this -> getView('browsepublications', 'html') -> setModel($search);
32 14587 thanos.pap
		$this -> getView('chart', 'html') -> setModel($statistics);
33 15208 thanos.pap
		$this -> getView('claim1', 'html') -> setModel($claim);
34 17698 thanos.pap
		$this -> getView('claim1', 'html') -> setModel($search);
35 15208 thanos.pap
		$this -> getView('claim2', 'html') -> setModel($claim);
36
		$this -> getView('claim2', 'html') -> setModel($search);
37
		$this -> getView('claim3', 'html') -> setModel($claim);
38 20236 thanos.pap
		$this -> getView('claim4', 'html') -> setModel($search);
39 18044 thanos.pap
		$this -> getView('claim4', 'html') -> setModel($claim);
40 25039 thanos.pap
		$this -> getView('claim4', 'html') -> setModel($piwik);
41 27576 yannis.str
		$this -> getView('claims', 'html') -> setModel($claim);
42
		$this -> getView('claiminline', 'html') -> setModel($claim);
43
		$this -> getView('claiminline', 'html') -> setModel($search);
44 28676 yannis.str
        $this -> getView('claiminline2', 'html') -> setModel($claim);
45
		$this -> getView('claiminline2', 'html') -> setModel($search);
46 27576 yannis.str
		$this -> getView('communities', 'raw') -> setModel($search);
47
        $this -> getView('communities', 'raw') -> setModel($claim);
48
        $this -> getView('data', 'raw') -> setModel($search);
49 19426 thanos.pap
		$this -> getView('dataset', 'html') -> setModel($search);
50 17440 thanos.pap
		$this -> getView('datasource', 'html') -> setModel($search);
51 18092 thanos.pap
		$this -> getView('emailpublication', 'raw') -> setModel($search);
52 25039 thanos.pap
		$this -> getView('emailpublication', 'raw') -> setModel($piwik);
53 15475 thanos.pap
		// view ingestion1 uses no model at all
54 17864 thanos.pap
		$this -> getView('ingestion2', 'html') -> setModel($search);
55
		$this -> getView('institutions', 'raw') -> setModel($search);
56 25039 thanos.pap
		$this -> getView('institutions', 'raw') -> setModel($piwik);
57 14504 thanos.pap
		$this -> getView('invenio', 'html') -> setModel($redirect);
58 25039 thanos.pap
		$this -> getView('invenio', 'html') -> setModel($piwik);
59 17422 thanos.pap
		$this -> getView('organization', 'html') -> setModel($search);
60 17400 thanos.pap
		$this -> getView('person', 'html') -> setModel($search);
61 18092 thanos.pap
		$this -> getView('printpublication', 'raw') -> setModel($search);
62 25039 thanos.pap
		$this -> getView('printpublication', 'raw') -> setModel($piwik);
63 17396 thanos.pap
		$this -> getView('project', 'html') -> setModel($search);
64 17698 thanos.pap
		$this -> getView('projects', 'raw') -> setModel($search);
65 25446 yannis.str
		$this -> getView('projectfundings', 'raw') -> setModel($search);
66 17396 thanos.pap
		$this -> getView('publications', 'raw') -> setModel($search);
67 18133 thanos.pap
		$this -> getView('repositories', 'html') -> setModel($search);
68 15475 thanos.pap
		$this -> getView('search', 'html') -> setModel($search);
69 19426 thanos.pap
		$this -> getView('searchdatasets', 'html') -> setModel($search);
70 21841 thanos.pap
		$this -> getView('searchdatasetsraw', 'raw') -> setModel($search);
71 17364 thanos.pap
		$this -> getView('searchdatasources', 'html') -> setModel($search);
72 21841 thanos.pap
		$this -> getView('searchdatasourcesraw', 'raw') -> setModel($search);
73 17329 thanos.pap
		$this -> getView('searchorganizations', 'html') -> setModel($search);
74 21841 thanos.pap
		$this -> getView('searchorganizationsraw', 'raw') -> setModel($search);
75 17260 thanos.pap
		$this -> getView('searchpeople', 'html') -> setModel($search);
76 21841 thanos.pap
		$this -> getView('searchpeopleraw', 'raw') -> setModel($search);
77 17260 thanos.pap
		$this -> getView('searchprojects', 'html') -> setModel($search);
78 21841 thanos.pap
		$this -> getView('searchprojectsraw', 'raw') -> setModel($search);
79 17260 thanos.pap
		$this -> getView('searchpublications', 'html') -> setModel($search);
80 21841 thanos.pap
		$this -> getView('searchpublicationsraw', 'raw') -> setModel($search);
81 15475 thanos.pap
		$this -> getView('statistics', 'html') -> setModel($statistics);
82 18044 thanos.pap
		$this -> getView('topics', 'raw') -> setModel($alerts);
83 14504 thanos.pap
		$this -> getView('validator', 'html') -> setModel($redirect);
84 25039 thanos.pap
		$this -> getView('validator', 'html') -> setModel($piwik);
85 15475 thanos.pap
		// view widget uses no model at all
86 14462 thanos.pap
	}
87
}