mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
481c58ec03
commit
e219bb1664
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user