diff --git a/library/Icinga/Web/Widget/Tab.php b/library/Icinga/Web/Widget/Tab.php index a54f29db6..c7fb30ff8 100644 --- a/library/Icinga/Web/Widget/Tab.php +++ b/library/Icinga/Web/Widget/Tab.php @@ -42,6 +42,11 @@ class Tab extends AbstractWidget */ private $title = ''; + /** + * The label displayed for this tab + * + * @var string + */ private $label = ''; /** @@ -118,11 +123,21 @@ class Tab extends AbstractWidget return $this->name; } + /** + * Set the tab label + * + * @param string $label + */ public function setLabel($label) { $this->label = $label; } + /** + * Get the tab label + * + * @return string + */ public function getLabel() { return $this->label;