diff options
Diffstat (limited to 'library/Director/Web/Window.php')
-rw-r--r-- | library/Director/Web/Window.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/library/Director/Web/Window.php b/library/Director/Web/Window.php new file mode 100644 index 0000000..3415dd3 --- /dev/null +++ b/library/Director/Web/Window.php @@ -0,0 +1,13 @@ +<?php + +namespace Icinga\Module\Director\Web; + +use Icinga\Web\Window as WebWindow; + +class Window extends WebWindow +{ + public function __construct($id) + { + parent::__construct(\preg_replace('/_.+$/', '', $id)); + } +} |