ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
require_once
'Services/PersonalDesktop/ItemsBlock/classes/class.ilPDSelectedItemsBlockViewGUI.php'
;
5
9
class
ilPDSelectedItemsBlockSelectedItemsViewGUI
extends
ilPDSelectedItemsBlockViewGUI
10
{
14
public
function
getGroups
()
15
{
16
if
($this->viewSettings->isSortedByLocation()) {
17
return
$this->
groupItemsByLocation
();
18
}
19
20
return
$this->
groupItemsByType
();
21
}
22
26
public
function
getScreenId
()
27
{
28
return
'sel_items'
;
29
}
30
34
public
function
getTitle
()
35
{
36
return
$this->lng->txt(
'pd_my_offers'
);
37
}
38
42
public
function
supportsSelectAll
()
43
{
44
return
true
;
45
}
46
50
public
function
getIntroductionHtml
()
51
{
52
$tpl
=
new
ilTemplate
(
'tpl.pd_intro.html'
,
true
,
true
,
'Services/PersonalDesktop'
);
53
$tpl
->setVariable(
'IMG_PD_LARGE'
, ilObject::_getIcon(
''
,
'big'
,
'pd'
));
54
$tpl
->setVariable(
'TXT_WELCOME'
, $this->lng->txt(
'pdesk_intro'
));
55
$tpl
->setVariable(
"TXT_INTRO_1"
, sprintf($this->lng->txt(
'pdesk_intro2'
), $this->lng->txt(
'to_desktop'
)));
56
57
require_once
'Services/Link/classes/class.ilLink.php'
;
58
$tpl
->setVariable(
'TXT_INTRO_2'
, sprintf(
59
$this->lng->txt(
'pdesk_intro3'
),
60
'<a href="'
.
ilLink::_getStaticLink
(1,
'root'
,
true
) .
'">'
. $this->
getRepositoryTitle
() .
'</a>'
61
));
62
$tpl
->setVariable(
'TXT_INTRO_3'
, $this->lng->txt(
'pdesk_intro4'
));
63
64
return
$tpl
->get();
65
}
66
}
$tpl
$tpl
Definition:
ilias.php:10
ilPDSelectedItemsBlockViewGUI
Class ilPDSelectedItemsBlockViewGUI.
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:9
ilLink\_getStaticLink
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
Definition:
class.ilLink.php:53
ilPDSelectedItemsBlockViewGUI\getRepositoryTitle
getRepositoryTitle()
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:152
ilPDSelectedItemsBlockSelectedItemsViewGUI
Class ilPDSelectedItemsBlockSelectedItemsViewGUI.
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:9
ilPDSelectedItemsBlockSelectedItemsViewGUI\getTitle
getTitle()
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:34
ilTemplate
special template class to simplify handling of ITX/PEAR
Definition:
class.ilTemplate.php:13
ilPDSelectedItemsBlockViewGUI\groupItemsByLocation
groupItemsByLocation()
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:312
ilPDSelectedItemsBlockViewGUI\groupItemsByType
groupItemsByType()
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:187
ilPDSelectedItemsBlockSelectedItemsViewGUI\getGroups
getGroups()
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:14
ilPDSelectedItemsBlockSelectedItemsViewGUI\getScreenId
getScreenId()
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:26
ilPDSelectedItemsBlockSelectedItemsViewGUI\getIntroductionHtml
getIntroductionHtml()
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:50
php
ilPDSelectedItemsBlockSelectedItemsViewGUI\supportsSelectAll
supportsSelectAll()
Definition:
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php:42
Services
PersonalDesktop
ItemsBlock
classes
class.ilPDSelectedItemsBlockSelectedItemsViewGUI.php
Generated on Thu Jan 16 2025 19:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)