function getid3_instance in getID3() 6
Same name and namespace in other branches
- 8 getid3.module \getid3_instance()
- 5 getid3.module \getid3_instance()
- 7.2 getid3.module \getid3_instance()
- 7 getid3.module \getid3_instance()
Create and initialize an instance of getID3 class.
1 call to getid3_instance()
- getid3_analyze in ./
getid3.module - Analyze file and return its media information.
File
- ./
getid3.module, line 53
Code
function &getid3_instance() {
$id3 = NULL;
if (getid3_load()) {
$id3 = new getID3();
// MD5 is a big performance hit. Disable it by default.
$id3->option_md5_data = FALSE;
$id3->option_md5_data_source = FALSE;
$id3->encoding = 'UTF-8';
}
return $id3;
}