ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
9 {
13  public function getGroups()
14  {
15  if ($this->viewSettings->isSortedByLocation()) {
16  return $this->groupItemsByLocation();
17  } elseif ($this->viewSettings->isSortedByStartDate()) {
18  return $this->groupItemsByStartDate();
19  }
20 
21  return $this->groupItemsByType();
22  }
23 
27  public function getScreenId()
28  {
29  return 'crs_grp';
30  }
31 
35  public function getTitle()
36  {
37  return $this->lng->txt('my_courses_groups');
38  }
39 
43  public function supportsSelectAll()
44  {
45  return false;
46  }
47 
51  public function mayRemoveItem($refId)
52  {
53  return $this->accessHandler->checkAccess('leave', $refId);
54  }
55 
59  public function getIntroductionHtml()
60  {
61  $tpl = new ilTemplate('tpl.dashboard_my_memberships_intro.html', true, true, 'Services/Dashboard');
62  $tpl->setVariable('IMG_PD_LARGE', ilObject::_getIcon('', 'big', 'pd'));
63  $tpl->setVariable('TXT_WELCOME', $this->lng->txt('pd_my_memberships_intro'));
64  $tpl->setVariable('TXT_INTRO_1', $this->lng->txt('pd_my_memberships_intro2'));
65 
66  return $tpl->get();
67  }
68 }
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
Class ilPDSelectedItemsBlockViewGUI.
$refId
Definition: xapitoken.php:42