ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilPDSelectedItemsBlockGroup Class Reference
+ 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 = []
 

Detailed Description

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

Member Function Documentation

◆ getIconPath()

ilPDSelectedItemsBlockGroup::getIconPath ( )

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

References $icon_path.

38  : string
39  {
40  return $this->icon_path;
41  }

◆ getItems()

ilPDSelectedItemsBlockGroup::getItems ( )

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

References $items.

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

◆ getLabel()

ilPDSelectedItemsBlockGroup::getLabel ( )

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

References $label.

28  : string
29  {
30  return $this->label;
31  }

◆ hasIcon()

ilPDSelectedItemsBlockGroup::hasIcon ( )

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

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

◆ pushItem()

ilPDSelectedItemsBlockGroup::pushItem ( array  $item)

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

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

◆ setHasIcon()

ilPDSelectedItemsBlockGroup::setHasIcon ( bool  $has_icon)

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

References $has_icon.

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

◆ setIconPath()

ilPDSelectedItemsBlockGroup::setIconPath ( string  $icon_path)

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

References $icon_path.

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

◆ setItems()

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

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

References $items.

46  : void
47  {
48  $this->items = $items;
49  }

◆ setLabel()

ilPDSelectedItemsBlockGroup::setLabel ( string  $label)

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

References $label.

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

Field Documentation

◆ $has_icon

bool ilPDSelectedItemsBlockGroup::$has_icon = false
protected

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

Referenced by setHasIcon().

◆ $icon_path

string ilPDSelectedItemsBlockGroup::$icon_path = ''
protected

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

Referenced by getIconPath(), and setIconPath().

◆ $items

array ilPDSelectedItemsBlockGroup::$items = []
protected

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

Referenced by getItems(), and setItems().

◆ $label

string ilPDSelectedItemsBlockGroup::$label = ''
protected

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

Referenced by getLabel(), and setLabel().


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