From b897813e71da5f52e27cd488d1b90f5ffee73056 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 7 Sep 2015 13:55:52 +0200 Subject: [PATCH] lib: Add Form::setRequest() --- library/Icinga/Web/Form.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 29753f4e8..1e42e8ba6 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -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 *