summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-09-17 13:05:26 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-09-17 13:05:26 +0200
commitb644e8a5e7f3dfb63bbc40ebda437719aed0ba46 (patch)
treebe40807fc1b7756733ee644eff9bdca73e47c9d2 /lib/public
parent0d37e16499fd0bda83d4c41dfba626b3d9a489f5 (diff)
parent3ad9489634186a13f43d40998af7b5dee1ef6c44 (diff)
downloadnextcloud-server-b644e8a5e7f3dfb63bbc40ebda437719aed0ba46.tar.gz
nextcloud-server-b644e8a5e7f3dfb63bbc40ebda437719aed0ba46.zip
Merge pull request #10932 from owncloud/issue/10926
Add a method to get the absolute url for a route
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iurlgenerator.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/iurlgenerator.php b/lib/public/iurlgenerator.php
index afdf1b6f299..dbbd8a3bb63 100644
--- a/lib/public/iurlgenerator.php
+++ b/lib/public/iurlgenerator.php
@@ -43,6 +43,14 @@ interface IURLGenerator {
public function linkToRoute($routeName, $arguments = array());
/**
+ * Returns the absolute URL for a route
+ * @param string $routeName the name of the route
+ * @param array $arguments an array with arguments which will be filled into the url
+ * @return string the absolute url
+ */
+ public function linkToRouteAbsolute($routeName, $arguments = array());
+
+ /**
* Returns an URL for an image or file
* @param string $appName the name of the app
* @param string $file the name of the file