Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-11 20:44:02 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-14 11:38:37 +0400
commitffae6f4b847e96d691053300c355ab81edc6c1c8 (patch)
tree928a210abf40ab333c0a08fb469be87c71147b24 /lib/helper.php
parent2d6d0a4ad438590504c13f04a6b2916a59a99c30 (diff)
Style-fix: Breakup long lines
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 2713ffed451..0f810ffc0c2 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -132,7 +132,8 @@ class OC_Helper {
* Returns a absolute url to the given service.
*/
public static function linkToRemote( $service, $add_slash = true ) {
- return self::makeURLAbsolute(self::linkToRemoteBase($service)) . (($add_slash && $service[strlen($service)-1]!='/')?'/':'');
+ return self::makeURLAbsolute(self::linkToRemoteBase($service))
+ . (($add_slash && $service[strlen($service)-1]!='/')?'/':'');
}
/**
@@ -144,7 +145,8 @@ class OC_Helper {
* Returns a absolute url to the given service.
*/
public static function linkToPublic($service, $add_slash = false) {
- return self::linkToAbsolute( '', 'public.php') . '?service=' . $service . (($add_slash && $service[strlen($service)-1]!='/')?'/':'');
+ return self::linkToAbsolute( '', 'public.php') . '?service=' . $service
+ . (($add_slash && $service[strlen($service)-1]!='/')?'/':'');
}
/**
@@ -379,7 +381,8 @@ class OC_Helper {
$mimeType='application/octet-stream';
}
- if($mimeType=='application/octet-stream' and function_exists('finfo_open') and function_exists('finfo_file') and $finfo=finfo_open(FILEINFO_MIME)) {
+ if($mimeType=='application/octet-stream' and function_exists('finfo_open')
+ and function_exists('finfo_file') and $finfo=finfo_open(FILEINFO_MIME)) {
$info = @strtolower(finfo_file($finfo, $path));
if($info) {
$mimeType=substr($info, 0, strpos($info, ';'));
@@ -444,7 +447,8 @@ class OC_Helper {
}
/**
- * returns "checked"-attribute if request contains selected radio element OR if radio element is the default one -- maybe?
+ * returns "checked"-attribute if request contains selected radio element
+ * OR if radio element is the default one -- maybe?
* @param string $s Name of radio-button element name
* @param string $v Value of current radio-button element
* @param string $d Value of default radio-button element