lib: Add Form::setRequest()
This commit is contained in:
parent
1fb613e811
commit
b897813e71
library/Icinga/Web
|
@ -1396,6 +1396,19 @@ class Form extends Zend_Form
|
|||
return $this->request;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the request
|
||||
*
|
||||
* @param Request $request
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequest(Request $request)
|
||||
{
|
||||
$this->request = $request;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current Response
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue