@@ -496,7 +496,7 @@ |
||
| 496 | 496 | * |
| 497 | 497 | * @access public |
| 498 | 498 | * @param array an associative array of key/values |
| 499 | - * @return array |
|
| 499 | + * @return string |
|
| 500 | 500 | */ |
| 501 | 501 | function assoc_to_uri($array) |
| 502 | 502 | { |
@@ -385,6 +385,8 @@ discard block |
||
| 385 | 385 | * |
| 386 | 386 | * @param string |
| 387 | 387 | * @param string |
| 388 | + * @param string $path |
|
| 389 | + * @param string $filename |
|
| 388 | 390 | * @return string |
| 389 | 391 | */ |
| 390 | 392 | public function set_filename($path, $filename) |
@@ -732,6 +734,7 @@ discard block |
||
| 732 | 734 | * Extract the file extension |
| 733 | 735 | * |
| 734 | 736 | * @param string |
| 737 | + * @param string $filename |
|
| 735 | 738 | * @return string |
| 736 | 739 | */ |
| 737 | 740 | public function get_extension($filename) |
@@ -746,6 +749,7 @@ discard block |
||
| 746 | 749 | * Clean the file name for security |
| 747 | 750 | * |
| 748 | 751 | * @param string |
| 752 | + * @param string $filename |
|
| 749 | 753 | * @return string |
| 750 | 754 | */ |
| 751 | 755 | public function clean_file_name($filename) |
@@ -790,6 +794,8 @@ discard block |
||
| 790 | 794 | * Limit the File Name Length |
| 791 | 795 | * |
| 792 | 796 | * @param string |
| 797 | + * @param string $filename |
|
| 798 | + * @param integer $length |
|
| 793 | 799 | * @return string |
| 794 | 800 | */ |
| 795 | 801 | public function limit_filename_length($filename, $length) |
@@ -889,6 +895,7 @@ discard block |
||
| 889 | 895 | * Set an error message |
| 890 | 896 | * |
| 891 | 897 | * @param string |
| 898 | + * @param string $msg |
|
| 892 | 899 | * @return void |
| 893 | 900 | */ |
| 894 | 901 | public function set_error($msg) |
@@ -942,6 +949,7 @@ discard block |
||
| 942 | 949 | * the "allowed types" set by the developer |
| 943 | 950 | * |
| 944 | 951 | * @param string |
| 952 | + * @param string $mime |
|
| 945 | 953 | * @return string |
| 946 | 954 | */ |
| 947 | 955 | public function mimes_types($mime) |