aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/route
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-07-01 16:45:00 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-07-01 16:45:00 +0200
commit5a588333b236519aed449a309be818d0686edb3a (patch)
tree5df197e9501bf79b1abcc7253987df53c5746ba3 /lib/public/route
parentdd20b9f6726db4ddc2d5905705e01544f4f4fd08 (diff)
downloadnextcloud-server-5a588333b236519aed449a309be818d0686edb3a.tar.gz
nextcloud-server-5a588333b236519aed449a309be818d0686edb3a.zip
introduce and use getCurrentConnection()
Diffstat (limited to 'lib/public/route')
-rw-r--r--lib/public/route/irouter.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/route/irouter.php b/lib/public/route/irouter.php
index 1c003c7b4b9..daa1632e0c8 100644
--- a/lib/public/route/irouter.php
+++ b/lib/public/route/irouter.php
@@ -37,6 +37,13 @@ interface IRouter {
public function useCollection($name);
/**
+ * returns the current collection name in use for adding routes
+ *
+ * @return string the collection name
+ */
+ public function getCurrentCollection();
+
+ /**
* Create a \OCP\Route\IRoute.
*
* @param string $name Name of the route to create.