ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilPDSelectedItemsBlockMembershipsViewGUI Class Reference

Class ilPDSelectedItemsBlockMembershipsViewGUI. More...

+ Inheritance diagram for ilPDSelectedItemsBlockMembershipsViewGUI:
+ Collaboration diagram for ilPDSelectedItemsBlockMembershipsViewGUI:

Public Member Functions

 getGroups ()
 
 getScreenId ()
 
 getTitle ()
 
 supportsSelectAll ()
 
 mayRemoveItem ($refId)
 
 getIntroductionHtml ()
 
- Public Member Functions inherited from ilPDSelectedItemsBlockViewGUI
 getScreenId ()
 
 getTitle ()
 
 getMinimumDetailLevelForSection ()
 
 supportsSelectAll ()
 
 getIntroductionHtml ()
 
 getGroups ()
 
 mayRemoveItem ($refId)
 
 setIsInManageMode (bool $isInManageMode)
 
 isInManageMode ()
 
 getItemGroups ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilPDSelectedItemsBlockViewGUI
static bySettings (ilPDSelectedItemsBlockViewSettings $viewSettings)
 
- Protected Member Functions inherited from ilPDSelectedItemsBlockViewGUI
 isRootNode ($refId)
 
 getRepositoryTitle ()
 
 preloadItemGroups (array $item_groups)
 
 groupItemsByType ()
 
 groupItemsByStartDate ()
 
 groupItemsByLocation ()
 
- Protected Attributes inherited from ilPDSelectedItemsBlockViewGUI
 $viewSettings
 
 $provider
 
 $lng
 
 $tree
 
 $object_cache
 
 $accessHandler
 
 $isInManageMode = false
 

Detailed Description

Member Function Documentation

◆ getGroups()

ilPDSelectedItemsBlockMembershipsViewGUI::getGroups ( )

Definition at line 13 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

References ilPDSelectedItemsBlockViewGUI\groupItemsByLocation(), ilPDSelectedItemsBlockViewGUI\groupItemsByStartDate(), and ilPDSelectedItemsBlockViewGUI\groupItemsByType().

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  }
+ Here is the call graph for this function:

◆ getIntroductionHtml()

ilPDSelectedItemsBlockMembershipsViewGUI::getIntroductionHtml ( )

Definition at line 59 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

References $tpl, and ilObject\_getIcon().

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  }
static _getIcon( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41
+ Here is the call graph for this function:

◆ getScreenId()

ilPDSelectedItemsBlockMembershipsViewGUI::getScreenId ( )

Definition at line 27 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

28  {
29  return 'crs_grp';
30  }

◆ getTitle()

ilPDSelectedItemsBlockMembershipsViewGUI::getTitle ( )

Definition at line 35 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

36  {
37  return $this->lng->txt('my_courses_groups');
38  }

◆ mayRemoveItem()

ilPDSelectedItemsBlockMembershipsViewGUI::mayRemoveItem (   $refId)

Definition at line 51 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

References $refId.

52  {
53  return $this->accessHandler->checkAccess('leave', $refId);
54  }
$refId
Definition: xapitoken.php:40

◆ supportsSelectAll()

ilPDSelectedItemsBlockMembershipsViewGUI::supportsSelectAll ( )

Definition at line 43 of file class.ilPDSelectedItemsBlockMembershipsViewGUI.php.

44  {
45  return false;
46  }

The documentation for this class was generated from the following file: