ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilPDSelectedItemsBlockGroup Class Reference

Class ilPDSelectedItemsBlockGroup. More...

+ Collaboration diagram for ilPDSelectedItemsBlockGroup:

Public Member Functions

 getLabel ()
 
 hasIcon ()
 
 getIconPath ()
 
 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 ( )

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.

Referenced by ilPDSelectedItemsBlockGUI\addSectionHeader().

41  {
42  return strlen($this->icon_path) > 0;
43  }
+ 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.

73  {
74  $this->has_icon = $has_icon;
75  }

◆ setIconPath()

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

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

References $icon_path.

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

◆ setItems()

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

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

References $items.

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

◆ setLabel()

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

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

References $label.

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

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: