You are here

function exif_load_settings in Exif 5

Return an array with all the valid tags and their settings.

1 call to exif_load_settings()
exif_admin_settings_form in ./exif.module
Administration page callback.

File

./exif.module, line 221

Code

function exif_load_settings() {
  $tags = exif_get_default_settings();
  $result = db_query('SELECT * FROM {exif_tags}');
  while ($tag = db_fetch_object($result)) {
    $tags["{$tag->ifd}_{$tag->tag}"] = $tag;
  }
  usort($tags, '_exif_compare_tags');
  return $tags;
}