From e219bb1664f925668c8a7eb71b78cb4a5577f6c7 Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Wed, 25 Feb 2015 13:13:22 +0100 Subject: [PATCH] Add doc for the label refs #7968 --- library/Icinga/Web/Widget/Tab.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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;