blob: 1907ba668dc6a40da24460e40aec1a8660e940cd (
plain)
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
|
<?php
/**
* Contents widget.
*
* @author David Siegfried <ds.siegfried@gmail.com>
* @license GPL2 or any later version
* @since Stud.IP 5.0
*/
class ContentsWidget extends CorePlugin implements PortalPlugin
{
public function getPluginName()
{
return _('Mein Arbeitsplatz');
}
public function getMetadata()
{
return [
'description' => _('Mit diesem Widget haben Sie einen Überblick über Ihre Inhalte.')
];
}
public function getPortalTemplate()
{
$template = $GLOBALS['template_factory']->open('start/contents');
$template->tiles = Navigation::getItem('/contents');
return $template;
}
}
|