ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
9{
13 public function getGroups()
14 {
15 if ($this->viewSettings->isSortedByLocation()) {
16 return $this->groupItemsByLocation();
17 }
18
19 return $this->groupItemsByType();
20 }
21
25 public function getScreenId()
26 {
27 return 'sel_items';
28 }
29
33 public function getTitle()
34 {
35 return $this->lng->txt('dash_favourites');
36 }
37
41 public function supportsSelectAll()
42 {
43 return true;
44 }
45
49 public function getIntroductionHtml()
50 {
51 $tpl = new ilTemplate('tpl.dashboard_intro.html', true, true, 'Services/Dashboard');
52 $tpl->setVariable('IMG_PD_LARGE', ilObject::_getIcon('', 'big', 'pd'));
53 $tpl->setVariable('TXT_WELCOME', $this->lng->txt('pdesk_intro'));
54 //$tpl->setVariable("TXT_INTRO_1", sprintf($this->lng->txt('pdesk_intro2'), $this->lng->txt('rep_add_to_favourites')));
55
56 require_once 'Services/Link/classes/class.ilLink.php';
57 $tpl->setVariable('TXT_INTRO_2', sprintf(
58 $this->lng->txt('pdesk_intro3'),
59 '<a href="' . ilLink::_getStaticLink(1, 'root', true) . '">' . $this->getRepositoryTitle() . '</a>'
60 ));
61 $tpl->setVariable('TXT_INTRO_3', $this->lng->txt('pdesk_intro4'));
62
63 return $tpl->get();
64 }
65}
An exception for terminatinating execution or to throw for unit testing.
Class ilPDSelectedItemsBlockViewGUI.
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl