Forms do not need a special title property
As our upcoming wizard has no menu and our tabs are hardcoded we do not need a special "title" property anymore. refs #5525
This commit is contained in:
parent
1de2d0c14f
commit
47ae4d79dc
|
@ -16,13 +16,6 @@ use Icinga\Exception\ProgrammingError;
|
|||
*/
|
||||
class Form extends Zend_Form
|
||||
{
|
||||
/**
|
||||
* The title of this form
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $title;
|
||||
|
||||
/**
|
||||
* The view script to use when rendering this form
|
||||
*
|
||||
|
@ -64,29 +57,6 @@ class Form extends Zend_Form
|
|||
*/
|
||||
protected $tokenElementName = 'CSRFToken';
|
||||
|
||||
/**
|
||||
* Set this form's title
|
||||
*
|
||||
* @param string $title The title to set
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return this form's title
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the view script to use when rendering this form
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue