mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Form: Introduce setTitle() as alias for Zend_Form::setDescription()
This commit is contained in:
parent
ad288c08ca
commit
b1d0c12df3
@ -956,6 +956,20 @@ class Form extends Zend_Form
|
|||||||
return $name;
|
return $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set form description
|
||||||
|
*
|
||||||
|
* Alias for Zend_Form::setDescription().
|
||||||
|
*
|
||||||
|
* @param string $value
|
||||||
|
*
|
||||||
|
* @return Form
|
||||||
|
*/
|
||||||
|
public function setTitle($value)
|
||||||
|
{
|
||||||
|
return $this->setDescription($value);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the request associated with this form
|
* Return the request associated with this form
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user