diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-07-01 18:45:00 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-04 17:26:30 +0400 |
commit | f390ae53ba98ccbdfcc60aad2ab03a35bcf77b2c (patch) | |
tree | b03e60a7fbb23be18303bdb9b043e75332ad88f6 /lib/public | |
parent | 195cf273f857d55f8b499cd872ab8e2d885b0891 (diff) |
introduce and use getCurrentConnection()
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/route/irouter.php | 7 |
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. |