function getlocations_fields_update_record_relations in Get Locations 7
Parameters
array $relations: Relationship information
int $glid: The location ID
1 call to getlocations_fields_update_record_relations()
- getlocations_fields_update_record in modules/
getlocations_fields/ getlocations_fields.module - Create a location
File
- modules/
getlocations_fields/ getlocations_fields.module, line 2285 - getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_fields_update_record_relations($relations, $glid) {
$num_updated = db_update('getlocations_fields_entities')
->fields($relations)
->condition('glid', $glid)
->execute();
}