function getid3_analyze in getID3() 7
Same name and namespace in other branches
- 8 getid3.module \getid3_analyze()
- 5 getid3.module \getid3_analyze()
- 6 getid3.module \getid3_analyze()
Analyze file and return its media information.
Parameters
$filepath: A string specifying a file path.
Return value
An array with the information returned by getID3.
1 call to getid3_analyze()
- getid3_analyze_file in ./
getid3.module - Analyze a file object and popupate its getid3 property.
File
- ./
getid3.module, line 102
Code
function getid3_analyze($filepath) {
$info = array();
if ($id3 = getid3_instance()) {
$info = $id3
->analyze($filepath);
unset($id3);
}
return $info;
}