From 72f0e809ae9a727f461044a1f209c5e5392df9df Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 6 Apr 2018 11:08:20 +0200 Subject: [PATCH] Pane: Add setter for $name refs #2901 --- library/Icinga/Web/Widget/Dashboard/Pane.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/Icinga/Web/Widget/Dashboard/Pane.php b/library/Icinga/Web/Widget/Dashboard/Pane.php index 6de4cae88..967ba48e9 100644 --- a/library/Icinga/Web/Widget/Dashboard/Pane.php +++ b/library/Icinga/Web/Widget/Dashboard/Pane.php @@ -53,6 +53,16 @@ class Pane extends UserWidget $this->title = $name; } + /** + * Set the name of this pane + * + * @param string $name + */ + public function setName($name) + { + $this->name = $name; + } + /** * Returns the name of this pane *