Completed
Branch master (79581d)
by Michael
06:20
created
mootools-filemanager/Backend/Assets/getid3/module.tag.apetag.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -210,6 +210,9 @@
 block discarded – undo
210 210
 
211 211
 
212 212
 
213
+    /**
214
+     * @param string $data
215
+     */
213 216
     protected function ParseAPEheaderFooter($data, &$target) {
214 217
 
215 218
         // http://www.uni-jena.de/~pfk/mpp/sv8/apeheader.html
Please login to merge, or discard this patch.
mootools-filemanager/Backend/Assets/getid3/module.tag.id3v1.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -303,6 +303,9 @@
 block discarded – undo
303 303
     }
304 304
     
305 305
 
306
+    /**
307
+     * @param string $genre
308
+     */
306 309
     public static function LookupGenreID($genre, $allow_SCMPX_extended=false) {
307 310
         
308 311
         $lookup = getid3_id3v1::ArrayOfGenres($allow_SCMPX_extended);
Please login to merge, or discard this patch.
mootools-filemanager/Backend/Assets/getid3/module.tag.id3v2.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -1880,6 +1880,9 @@  discard block
 block discarded – undo
1880 1880
     
1881 1881
     
1882 1882
     
1883
+    /**
1884
+     * @param integer $encoding
1885
+     */
1883 1886
     private function TextEncodingNameLookup($encoding) {
1884 1887
         
1885 1888
         // Override specification - BRAINDEAD taggers
@@ -2347,6 +2350,9 @@  discard block
 block discarded – undo
2347 2350
 
2348 2351
 
2349 2352
 
2353
+    /**
2354
+     * @param string $language_code
2355
+     */
2350 2356
     public static function LanguageLookup($language_code, $case_sensitive=false) {
2351 2357
 
2352 2358
         if (!$case_sensitive) {
@@ -2846,6 +2852,9 @@  discard block
 block discarded – undo
2846 2852
 
2847 2853
 
2848 2854
 
2855
+    /**
2856
+     * @param integer $index
2857
+     */
2849 2858
     public static function SYTLContentTypeLookup($index) {
2850 2859
 
2851 2860
         static $lookup = array (
@@ -2865,6 +2874,9 @@  discard block
 block discarded – undo
2865 2874
 
2866 2875
 
2867 2876
 
2877
+    /**
2878
+     * @param integer $index
2879
+     */
2868 2880
     public static function APICPictureTypeLookup($index, $return_array=false) {
2869 2881
 
2870 2882
         static $lookup = array (
@@ -2899,6 +2911,9 @@  discard block
 block discarded – undo
2899 2911
 
2900 2912
 
2901 2913
 
2914
+    /**
2915
+     * @param integer $index
2916
+     */
2902 2917
     public static function COMRReceivedAsLookup($index) {
2903 2918
 
2904 2919
         static $lookup = array (
@@ -2918,6 +2933,9 @@  discard block
 block discarded – undo
2918 2933
 
2919 2934
 
2920 2935
 
2936
+    /**
2937
+     * @param integer $index
2938
+     */
2921 2939
     public static function RVA2ChannelTypeLookup($index) {
2922 2940
         
2923 2941
         static $lookup = array (
@@ -3196,6 +3214,9 @@  discard block
 block discarded – undo
3196 3214
 
3197 3215
 
3198 3216
 
3217
+    /**
3218
+     * @param integer $encoding
3219
+     */
3199 3220
     public static function TextEncodingTerminatorLookup($encoding) {
3200 3221
 
3201 3222
         // http://www.id3.org/id3v2.4.0-structure.txt
@@ -3218,6 +3239,9 @@  discard block
 block discarded – undo
3218 3239
 
3219 3240
 
3220 3241
 
3242
+    /**
3243
+     * @param string $frame_name
3244
+     */
3221 3245
     public static function IsValidID3v2FrameName($frame_name, $id3v2_major_version) {
3222 3246
 
3223 3247
         switch ($id3v2_major_version) {
@@ -3233,6 +3257,9 @@  discard block
 block discarded – undo
3233 3257
 
3234 3258
 
3235 3259
 
3260
+    /**
3261
+     * @param string $date_stamp
3262
+     */
3236 3263
     public static function IsValidDateStampString($date_stamp) {
3237 3264
 
3238 3265
         if (strlen($date_stamp) != 8) {
Please login to merge, or discard this patch.
mootools-filemanager/Backend/Assets/getid3/module.tag.lyrics3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -260,6 +260,9 @@
 block discarded – undo
260 260
 
261 261
 
262 262
 
263
+    /**
264
+     * @param string $char
265
+     */
263 266
     public static function IntString2Bool($char) {
264 267
         
265 268
         return $char == '1' ? true : ($char == '0' ? false : null);
Please login to merge, or discard this patch.
plugins/MootoolsFileManager/mootools-filemanager/Backend/FileManager.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -295,6 +295,9 @@  discard block
 block discarded – undo
295 295
 		));
296 296
 	}
297 297
 	
298
+	/**
299
+	 * @param string $file
300
+	 */
298 301
 	protected function unlink($file){
299 302
 		$file = realpath($file);
300 303
 		if ($this->basedir==$file || strlen($this->basedir)>=strlen($file))
@@ -312,6 +315,9 @@  discard block
 block discarded – undo
312 315
 		}
313 316
 	}
314 317
 	
318
+	/**
319
+	 * @param string $dir
320
+	 */
315 321
 	protected function getName($file, $dir){
316 322
 		$files = array();
317 323
 		foreach ((array)glob($dir . '/*') as $f)
@@ -340,11 +346,17 @@  discard block
 block discarded – undo
340 346
 		return $this->checkFile($dir) ? $dir : $this->basedir;
341 347
 	}
342 348
 	
349
+	/**
350
+	 * @param string $file
351
+	 */
343 352
 	protected function getPath($file){
344 353
 		$file = $this->normalize(substr($file, $this->length));
345 354
 		return substr($file, FileManagerUtility::startsWith($file, '/') ? 1 : 0);
346 355
 	}
347 356
 	
357
+	/**
358
+	 * @param string $file
359
+	 */
348 360
 	protected function checkFile($file){
349 361
 		$mimes = $this->getAllowedMimeTypes();
350 362
 		$hasFilter = $this->options['filter'] && count($mimes);
@@ -379,6 +391,9 @@  discard block
 block discarded – undo
379 391
 /* Stripped-down version of some Styx PHP Framework-Functionality bundled with this FileBrowser. Styx is located at: http://styx.og5.net */
380 392
 class FileManagerUtility {
381 393
 	
394
+	/**
395
+	 * @param string $look
396
+	 */
382 397
 	public static function endsWith($string, $look){
383 398
 		return strrpos($string, $look)===strlen($string)-strlen($look);
384 399
 	}
@@ -403,6 +418,9 @@  discard block
 block discarded – undo
403 418
 		return !empty($options) ? self::checkTitle($data, $options) : $data;
404 419
 	}
405 420
 	
421
+	/**
422
+	 * @param string $data
423
+	 */
406 424
 	protected static function checkTitle($data, $options = array(), $i = 0){
407 425
 		if (!is_array($options)) return $data;
408 426
 		
@@ -413,6 +431,9 @@  discard block
 block discarded – undo
413 431
 		return $data.($i ? '_' . $i : '');
414 432
 	}
415 433
 	
434
+	/**
435
+	 * @param string $str
436
+	 */
416 437
 	public static function isBinary($str){
417 438
 		$array = array(0, 255);
418 439
 		for($i = 0; $i < strlen($str); $i++)
Please login to merge, or discard this patch.
xinha/plugins/MootoolsFileManager/mootools-filemanager/Backend/Upload.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 * @param string $file
19 19
 	 * @param string $to
20 20
 	 * @param array $options
21
-	 * @return bool|string Path to moved file or false if the specified upload does not exist
21
+	 * @return false|string Path to moved file or false if the specified upload does not exist
22 22
 	 */
23 23
 	public static function move($file, $to, $options = null){
24 24
 		if(!self::exists($file)) return false;
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/xinha/plugins/PSServer/backend.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -462,7 +462,6 @@  discard block
 block discarded – undo
462 462
 
463 463
 /**
464 464
  * HTTP level error handling. 
465
- * @param integer $code The HTTP error code to return to the client.  This defaults to 400.
466 465
  * @param string $message Error message to send to the client.  This defaults to the standard HTTP error messages.
467 466
  */
468 467
 function http_error_exit($error = 'HTTP_CLIENT_BAD_REQUEST', $message='') {
@@ -483,6 +482,7 @@  discard block
 block discarded – undo
483 482
 
484 483
 /**
485 484
  * Check to see if the supplied filename is inside
485
+ * @param string $checkfile
486 486
  */
487 487
 function directory_contains($container_directory, $checkfile) {
488 488
 
@@ -778,6 +778,9 @@  discard block
 block discarded – undo
778 778
  * **************************************************************************}}
779 779
  */
780 780
 
781
+/**
782
+ * @param string $chroot
783
+ */
781 784
 function store_uploaded_file($filename, $filedata, $chroot) {
782 785
 
783 786
     // If chroot is empty, then we will not perform the operation.
Please login to merge, or discard this patch.