Output_Html_Tab : cosmetic

This commit is contained in:
Dany De Bontridder 2020-03-21 11:41:14 +01:00
parent 6c4c728d17
commit 4e5029c4b7
5 changed files with 131 additions and 27 deletions

View file

@ -35,7 +35,7 @@ class Html_Tab
private $content ; //!< static content of the tab
private $mode ; //!< possible values are static if the content is static, ajax for calling an ajax, link for a html link, default static
private $link; //!< the javascript or an html link, depending of the $mode
private $comment; //!< comment to add when we use the row
/**
*@example html_tab.test.php
*/
@ -44,7 +44,27 @@ class Html_Tab
$this->id=$p_id;
$this->title=$p_title;
$this->mode='static';
$this->comment="";
}
/**
* @return string
*/
public function get_comment()
{
return $this->comment;
return $this;
}
/**
* @param string $comment
*/
public function set_comment($comment)
{
$this->comment = $comment;
return $this;
}
public function get_id()
{
return $this->id;