mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
481c58ec03
commit
e219bb1664
@ -42,6 +42,11 @@ class Tab extends AbstractWidget
|
|||||||
*/
|
*/
|
||||||
private $title = '';
|
private $title = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The label displayed for this tab
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
private $label = '';
|
private $label = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -118,11 +123,21 @@ class Tab extends AbstractWidget
|
|||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the tab label
|
||||||
|
*
|
||||||
|
* @param string $label
|
||||||
|
*/
|
||||||
public function setLabel($label)
|
public function setLabel($label)
|
||||||
{
|
{
|
||||||
$this->label = $label;
|
$this->label = $label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the tab label
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
public function getLabel()
|
public function getLabel()
|
||||||
{
|
{
|
||||||
return $this->label;
|
return $this->label;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user