ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

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

References $icon_path.

◆ getItems()

ilPDSelectedItemsBlockGroup::getItems ( )

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

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

References $items.

◆ getLabel()

ilPDSelectedItemsBlockGroup::getLabel ( )

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

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

References $label.

◆ 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.

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

References $has_icon.

◆ setIconPath()

ilPDSelectedItemsBlockGroup::setIconPath ( string  $icon_path)

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

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

References $icon_path.

◆ setItems()

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

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

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

References $items.

◆ setLabel()

ilPDSelectedItemsBlockGroup::setLabel ( string  $label)

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

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

References $label.

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: