Add doc for the label

refs #7968
This commit is contained in:
Alexander Fuhr 2015-02-25 13:13:22 +01:00
parent 481c58ec03
commit e219bb1664

View File

@ -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;