/
OutlineModule.php
40 lines (36 loc) · 1.11 KB
/
OutlineModule.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* This file is part of the {@link http://ontowiki.net OntoWiki} project.
*
* @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
*/
/**
* OntoWiki module – Extension Navigation
*
* @category OntoWiki
* @package Extensions_Exconf
* @copyright Copyright (c) 2012, {@link http://aksw.org AKSW}
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
*/
class OutlineModule extends OntoWiki_Module
{
public function init() {
}
public function getTitle() {
return 'Extension Outline';
}
/**
* Returns the content
*/
public function getContents() {
#$data['resourceUri'] = $this->_owApp->selectedResource->getIri();
#$content = $this->render('tagging', $data, 'data');
$this->view->headScript()->appendFile($this->view->moduleUrl . '/resources/outline.js');
$content = '<div class="outline" />';
return $content;
}
public function shouldShow(){
return true;
}
}