ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilPDSelectedItemsBlockMembershipsViewGUI.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.ilPDSelectedItemsBlockMembershipsViewGUI.php'
;
5
9
class
ilPDSelectedItemsBlockMembershipsViewGUI
extends
ilPDSelectedItemsBlockViewGUI
10
{
14
public
function
getGroups
()
15
{
16
if
($this->viewSettings->isSortedByLocation()) {
17
return
$this->
groupItemsByLocation
();
18
} elseif ($this->viewSettings->isSortedByStartDate()) {
19
return
$this->
groupItemsByStartDate
();
20
}
21
22
return
$this->
groupItemsByType
();
23
}
24
28
public
function
getScreenId
()
29
{
30
return
'crs_grp'
;
31
}
32
36
public
function
getTitle
()
37
{
38
return
$this->lng->txt(
'pd_my_memberships'
);
39
}
40
44
public
function
supportsSelectAll
()
45
{
46
return
false
;
47
}
48
52
public
function
mayRemoveItem
($refId)
53
{
54
return
$this->accessHandler->checkAccess(
'leave'
, $refId);
55
}
56
60
public
function
getIntroductionHtml
()
61
{
62
$tpl
=
new
ilTemplate
(
'tpl.pd_my_memberships_intro.html'
,
true
,
true
,
'Services/PersonalDesktop'
);
63
$tpl
->setVariable(
'IMG_PD_LARGE'
, ilObject::_getIcon(
''
,
'big'
,
'pd'
));
64
$tpl
->setVariable(
'TXT_WELCOME'
, $this->lng->txt(
'pd_my_memberships_intro'
));
65
$tpl
->setVariable(
'TXT_INTRO_1'
, $this->lng->txt(
'pd_my_memberships_intro2'
));
66
67
return
$tpl
->get();
68
}
69
}
ilPDSelectedItemsBlockMembershipsViewGUI\getIntroductionHtml
getIntroductionHtml()
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:60
ilPDSelectedItemsBlockMembershipsViewGUI
Class ilPDSelectedItemsBlockMembershipsViewGUI.
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:9
$tpl
$tpl
Definition:
ilias.php:10
ilPDSelectedItemsBlockViewGUI
Class ilPDSelectedItemsBlockViewGUI.
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:9
ilPDSelectedItemsBlockMembershipsViewGUI\supportsSelectAll
supportsSelectAll()
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:44
ilPDSelectedItemsBlockMembershipsViewGUI\getTitle
getTitle()
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:36
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
php
ilPDSelectedItemsBlockMembershipsViewGUI\mayRemoveItem
mayRemoveItem($refId)
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:52
ilPDSelectedItemsBlockMembershipsViewGUI\getGroups
getGroups()
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:14
ilPDSelectedItemsBlockViewGUI\groupItemsByStartDate
groupItemsByStartDate()
Definition:
class.ilPDSelectedItemsBlockViewGUI.php:220
ilPDSelectedItemsBlockMembershipsViewGUI\getScreenId
getScreenId()
Definition:
class.ilPDSelectedItemsBlockMembershipsViewGUI.php:28
Services
PersonalDesktop
ItemsBlock
classes
class.ilPDSelectedItemsBlockMembershipsViewGUI.php
Generated on Thu Jan 16 2025 19:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)