ILIAS  release_8 Revision v8.24
ilPDSelectedItemsBlockGroup Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilPDSelectedItemsBlockGroup:

Public Member Functions

 getLabel ()
 
 hasIcon ()
 
 getIconPath ()
 
 setItems (array $items)
 
 pushItem (array $item)
 
 setHasIcon (bool $has_icon)
 
 setIconPath (string $icon_path)
 
 setLabel (string $label)
 
 getItems ()
 

Protected Attributes

bool $has_icon = false
 
string $icon_path = ''
 
string $label = ''
 
array $items = array()
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file class.ilPDSelectedItemsBlockGroup.php.

Member Function Documentation

◆ getIconPath()

ilPDSelectedItemsBlockGroup::getIconPath ( )

Definition at line 36 of file class.ilPDSelectedItemsBlockGroup.php.

36 : string
37 {
38 return $this->icon_path;
39 }

References $icon_path.

◆ getItems()

ilPDSelectedItemsBlockGroup::getItems ( )

Definition at line 72 of file class.ilPDSelectedItemsBlockGroup.php.

72 : array
73 {
74 return $this->items;
75 }

References $items.

Referenced by ilPDSelectedItemsBlockViewGUI\groupItemsByStartDate().

+ Here is the caller graph for this function:

◆ getLabel()

ilPDSelectedItemsBlockGroup::getLabel ( )

Definition at line 26 of file class.ilPDSelectedItemsBlockGroup.php.

26 : string
27 {
28 return $this->label;
29 }

References $label.

◆ hasIcon()

ilPDSelectedItemsBlockGroup::hasIcon ( )

Definition at line 31 of file class.ilPDSelectedItemsBlockGroup.php.

31 : bool
32 {
33 return strlen($this->icon_path) > 0;
34 }

◆ pushItem()

ilPDSelectedItemsBlockGroup::pushItem ( array  $item)
Parameters
array$item

Definition at line 52 of file class.ilPDSelectedItemsBlockGroup.php.

52 : void
53 {
54 $this->items[] = $item;
55 }

◆ setHasIcon()

ilPDSelectedItemsBlockGroup::setHasIcon ( bool  $has_icon)

Definition at line 57 of file class.ilPDSelectedItemsBlockGroup.php.

57 : void
58 {
59 $this->has_icon = $has_icon;
60 }

References $has_icon.

◆ setIconPath()

ilPDSelectedItemsBlockGroup::setIconPath ( string  $icon_path)

Definition at line 62 of file class.ilPDSelectedItemsBlockGroup.php.

62 : void
63 {
64 $this->icon_path = $icon_path;
65 }

References $icon_path.

◆ setItems()

ilPDSelectedItemsBlockGroup::setItems ( array  $items)
Parameters
array[]$items

Definition at line 44 of file class.ilPDSelectedItemsBlockGroup.php.

44 : void
45 {
46 $this->items = $items;
47 }

References $items.

◆ setLabel()

ilPDSelectedItemsBlockGroup::setLabel ( string  $label)

Definition at line 67 of file class.ilPDSelectedItemsBlockGroup.php.

67 : void
68 {
69 $this->label = $label;
70 }

References $label.

Field Documentation

◆ $has_icon

bool ilPDSelectedItemsBlockGroup::$has_icon = false
protected

Definition at line 21 of file class.ilPDSelectedItemsBlockGroup.php.

Referenced by setHasIcon().

◆ $icon_path

string ilPDSelectedItemsBlockGroup::$icon_path = ''
protected

Definition at line 22 of file class.ilPDSelectedItemsBlockGroup.php.

Referenced by getIconPath(), and setIconPath().

◆ $items

array ilPDSelectedItemsBlockGroup::$items = array()
protected

Definition at line 24 of file class.ilPDSelectedItemsBlockGroup.php.

Referenced by getItems(), and setItems().

◆ $label

string ilPDSelectedItemsBlockGroup::$label = ''
protected

Definition at line 23 of file class.ilPDSelectedItemsBlockGroup.php.

Referenced by getLabel(), and setLabel().


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