ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilPDSelectedItemsBlockGroup Class Reference

Class ilPDSelectedItemsBlockGroup. More...

+ Collaboration diagram for ilPDSelectedItemsBlockGroup:

Public Member Functions

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

Protected Attributes

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

Detailed Description

Member Function Documentation

◆ getIconPath()

ilPDSelectedItemsBlockGroup::getIconPath ( )

@string

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

References $icon_path.

Referenced by ilPDSelectedItemsBlockGUI\addSectionHeader().

+ Here is the caller graph for this function:

◆ getItems()

ilPDSelectedItemsBlockGroup::getItems ( )
Returns
array

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

References $items.

Referenced by ilPDSelectedItemsBlockViewGUI\groupItemsByStartDate().

+ Here is the caller graph for this function:

◆ getLabel()

ilPDSelectedItemsBlockGroup::getLabel ( )
Returns
string

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

References $label.

Referenced by ilPDSelectedItemsBlockGUI\addSectionHeader().

+ Here is the caller graph for this function:

◆ hasIcon()

ilPDSelectedItemsBlockGroup::hasIcon ( )
Returns
boolean

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

41 {
42 return strlen($this->icon_path) > 0;
43 }

Referenced by ilPDSelectedItemsBlockGUI\addSectionHeader().

+ Here is the caller graph for this function:

◆ pushItem()

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

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

65 {
66 $this->items[] = $item;
67 }

◆ setHasIcon()

ilPDSelectedItemsBlockGroup::setHasIcon (   $has_icon)
Parameters
bool$has_icon

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

References $has_icon.

◆ setIconPath()

ilPDSelectedItemsBlockGroup::setIconPath (   $icon_path)
Parameters
string$icon_path

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

81 {
82 $this->icon_path = $icon_path;
83 }

References $icon_path.

◆ setItems()

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

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

57 {
58 $this->items = $items;
59 }

References $items.

◆ setLabel()

ilPDSelectedItemsBlockGroup::setLabel (   $label)
Parameters
string$label

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

89 {
90 $this->label = $label;
91 }

References $label.

Field Documentation

◆ $has_icon

ilPDSelectedItemsBlockGroup::$has_icon = false
protected

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

Referenced by setHasIcon().

◆ $icon_path

ilPDSelectedItemsBlockGroup::$icon_path = ''
protected

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

Referenced by getIconPath(), and setIconPath().

◆ $items

ilPDSelectedItemsBlockGroup::$items = array()
protected

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

Referenced by getItems(), and setItems().

◆ $label

ilPDSelectedItemsBlockGroup::$label = ''
protected

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

Referenced by getLabel(), and setLabel().


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