From 297b621bf632e111c462fc277340aaa547c38768 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 12 Jul 2013 14:45:25 +0200 Subject: [PATCH] Add view helper url --- library/Icinga/Web/View/helpers/url.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 library/Icinga/Web/View/helpers/url.php diff --git a/library/Icinga/Web/View/helpers/url.php b/library/Icinga/Web/View/helpers/url.php new file mode 100644 index 000000000..41a8608c7 --- /dev/null +++ b/library/Icinga/Web/View/helpers/url.php @@ -0,0 +1,19 @@ +setParams($params); + } + } else { + $url = Url::create($path, $params); + } + return $url; +} +