You are here

function getid3_load in getID3() 7.2

Same name and namespace in other branches
  1. 8 getid3.module \getid3_load()
  2. 5 getid3.module \getid3_load()
  3. 6 getid3.module \getid3_load()
  4. 7 getid3.module \getid3_load()

Load the getID3 library.

Return value

Boolean indicating if the library was successfully loaded.

1 call to getid3_load()
getid3_instance in ./getid3.module
Create and initialize an instance of getID3 class.

File

./getid3.module, line 75

Code

function getid3_load($display_warning = TRUE) {

  // Ensure the getID3() library is loaded.
  $library = libraries_detect('getid3');
  if ($library['installed']) {
    libraries_load('getid3');
    return TRUE;
  }
  return FALSE;
}