function _exif_custom_get_maps in EXIF Custom 7
Get a list of custom maps.
Return value
object|bool Either the list of mappings, or FALSE if none available.
3 calls to _exif_custom_get_maps()
- exif_custom_mappings in ./exif_custom.pages.inc 
- Main mappings page.
- exif_custom_settings_form in ./exif_custom.settings.inc 
- General settings page for the exif_custom module.
- exif_custom_settings_form_user in ./exif_custom.user.inc 
- User settings form.
File
- ./exif_custom.module, line 123 
- Primary hook implementations for EXIF Custom.
Code
function _exif_custom_get_maps() {
  $results = db_query("SELECT mid, name FROM {exif_custom_maps};");
  if ($results
    ->rowCount() > 0) {
    return $results;
  }
  else {
    return FALSE;
  }
}