diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-07 11:38:23 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-07 11:38:23 +0200 |
commit | 39be4dca67ea26aa7602aa8a1b6e556acb67af51 (patch) | |
tree | a8a6e3defb43807c9c641e9c4b000b2556b919ed /lib/public/appframework | |
parent | 3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018 (diff) | |
download | nextcloud-server-39be4dca67ea26aa7602aa8a1b6e556acb67af51.tar.gz nextcloud-server-39be4dca67ea26aa7602aa8a1b6e556acb67af51.zip |
removing all link/url related calls from API class
Diffstat (limited to 'lib/public/appframework')
-rw-r--r-- | lib/public/appframework/iapi.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/public/appframework/iapi.php b/lib/public/appframework/iapi.php index 818647c19fd..c8722af6240 100644 --- a/lib/public/appframework/iapi.php +++ b/lib/public/appframework/iapi.php @@ -69,51 +69,6 @@ interface IApi { /** - * Returns the 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 url - */ - function linkToRoute($routeName, $arguments=array()); - - - /** - * Returns an URL for an image or file - * @param string $file the name of the file - * @param string $appName the name of the app, defaults to the current one - */ - function linkTo($file, $appName=null); - - - /** - * Returns the link to an image, like link to but only with prepending img/ - * @param string $file the name of the file - * @param string $appName the name of the app, defaults to the current one - */ - function imagePath($file, $appName = null); - - - /** - * Makes an URL absolute - * @param string $url the url - * @return string the absolute url - * - * FIXME: function should live in Request / Response - */ - function getAbsoluteURL($url); - - - /** - * links to a file - * @param string $file the name of the file - * @param string $appName the name of the app, defaults to the current one - * @deprecated replaced with linkToRoute() - * @return string the url - */ - function linkToAbsolute($file, $appName = null); - - - /** * Checks if an app is enabled * @param string $appName the name of an app * @return bool true if app is enabled |