diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-21 22:01:27 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-21 22:01:27 +0200 |
commit | 124984905e162160fe38d141d238c6102f549e9b (patch) | |
tree | 58e7a32a1622c8f5ea934fcf6a79654d3b4d0348 /lib/private/helper.php | |
parent | 148d2616e554964b59c5acaebf76333e5ae7f5eb (diff) | |
download | nextcloud-server-124984905e162160fe38d141d238c6102f549e9b.tar.gz nextcloud-server-124984905e162160fe38d141d238c6102f549e9b.zip |
introduce OC_Helper::linkToDocs()
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index e9b129db0ca..fca08adca8b 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -59,6 +59,15 @@ class OC_Helper { } /** + * @param $key + * @return string url to the online documentation + */ + public static function linkToDocs($key) { + $theme = new OC_Defaults(); + return $theme->getDocBaseUrl() . '/server/5.0/go.php?to=' . $key; + } + + /** * @brief Creates an absolute url * @param string $app app * @param string $file file |