@@ -145,6 +145,9 @@ |
||
| 145 | 145 | |
| 146 | 146 | |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $shortname |
|
| 150 | + */ |
|
| 148 | 151 | public static function VQFcommentNiceNameLookup($shortname) { |
| 149 | 152 | |
| 150 | 153 | static $lookup = array ( |
@@ -365,6 +365,9 @@ |
||
| 365 | 365 | |
| 366 | 366 | |
| 367 | 367 | |
| 368 | + /** |
|
| 369 | + * @param integer $id |
|
| 370 | + */ |
|
| 368 | 371 | public static function WavPackMetablockNameLookup($id) { |
| 369 | 372 | |
| 370 | 373 | static $lookup = array( |
@@ -306,6 +306,9 @@ |
||
| 306 | 306 | } |
| 307 | 307 | |
| 308 | 308 | |
| 309 | + /** |
|
| 310 | + * @param string $raw_data |
|
| 311 | + */ |
|
| 309 | 312 | public static function FixedPoint2_30($raw_data) { |
| 310 | 313 | |
| 311 | 314 | $binary_string = getid3_lib::BigEndian2Bin($raw_data); |
@@ -30,6 +30,10 @@ |
||
| 30 | 30 | |
| 31 | 31 | |
| 32 | 32 | // constructer - calculate md5/sha1 data |
| 33 | + |
|
| 34 | + /** |
|
| 35 | + * @param string $algorithm |
|
| 36 | + */ |
|
| 33 | 37 | public function __construct(getID3 $getid3, $algorithm) { |
| 34 | 38 | |
| 35 | 39 | $this->getid3 = $getid3; |
@@ -274,6 +274,10 @@ |
||
| 274 | 274 | |
| 275 | 275 | |
| 276 | 276 | // UTF-8 => UTF-16 |
| 277 | + |
|
| 278 | + /** |
|
| 279 | + * @param string $string |
|
| 280 | + */ |
|
| 277 | 281 | public static function iconv_utf8_utf16($string) { |
| 278 | 282 | return getid3_lib::iconv_utf8_utf16le($string, true); |
| 279 | 283 | } |
@@ -66,6 +66,9 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $iso_header |
|
| 71 | + */ |
|
| 69 | 72 | private function ParsePrimaryVolumeDescriptor(&$iso_header) { |
| 70 | 73 | |
| 71 | 74 | $getid3 = $this->getid3; |
@@ -151,6 +154,9 @@ discard block |
||
| 151 | 154 | |
| 152 | 155 | |
| 153 | 156 | |
| 157 | + /** |
|
| 158 | + * @param string $iso_header |
|
| 159 | + */ |
|
| 154 | 160 | private function ParseSupplementaryVolumeDescriptor(&$iso_header) { |
| 155 | 161 | |
| 156 | 162 | $getid3 = $this->getid3; |
@@ -426,6 +432,10 @@ discard block |
||
| 426 | 432 | |
| 427 | 433 | |
| 428 | 434 | |
| 435 | + /** |
|
| 436 | + * @param string $array_path |
|
| 437 | + * @param string $separator |
|
| 438 | + */ |
|
| 429 | 439 | public static function CreateDeepArray($array_path, $separator, $value) { |
| 430 | 440 | |
| 431 | 441 | // assigns $value to a nested array path: |
@@ -210,6 +210,9 @@ |
||
| 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 |
@@ -303,6 +303,9 @@ |
||
| 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); |
@@ -1880,6 +1880,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) { |