ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilPDSelectedItemsBlockGroup.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8{
12 protected $has_icon = false;
13
17 protected $icon_path = '';
18
22 protected $label = '';
23
27 protected $items = array();
28
32 public function getLabel()
33 {
34 return $this->label;
35 }
36
40 public function hasIcon()
41 {
42 return strlen($this->icon_path) > 0;
43 }
44
48 public function getIconPath()
49 {
50 return $this->icon_path;
51 }
52
56 public function setItems(array $items)
57 {
58 $this->items = $items;
59 }
60
64 public function pushItem(array $item)
65 {
66 $this->items[] = $item;
67 }
68
72 public function setHasIcon($has_icon)
73 {
74 $this->has_icon = $has_icon;
75 }
76
80 public function setIconPath($icon_path)
81 {
82 $this->icon_path = $icon_path;
83 }
84
88 public function setLabel($label)
89 {
90 $this->label = $label;
91 }
92
96 public function getItems()
97 {
98 return $this->items;
99 }
100}
An exception for terminatinating execution or to throw for unit testing.
Class ilPDSelectedItemsBlockGroup.