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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue