function tripal_featuremap_update_property

2.x tripal_featuremap.DEPRECATED.inc tripal_featuremap_update_property($featuremap_id, $property, $value, $insert_if_missing = 0)
3.x tripal_featuremap.DEPRECATED.inc tripal_featuremap_update_property($featuremap_id, $property, $value, $insert_if_missing = 0)
1.x tripal_featuremap.api.inc tripal_featuremap_update_property($featuremap_id, $property, $value, $insert_if_missing = 0)

Update a given property

Parameters

$featuremap_id: The featuremap_id of the property to update

$property: The cvterm name of the property to update

$value: The value of the property to update

$insert_if_missing: A boolean indicated whether to insert the record if it's absent

Note: The property will be identified using the unique combination of the $featuremap_id and $property and then it will be updated with the supplied value

Return value

True of success, False otherwise

File

tripal_featuremap/api/tripal_featuremap.api.inc, line 61

Code

function tripal_featuremap_update_property($featuremap_id, $property, $value, $insert_if_missing = 0) {
  return tripal_core_update_property('featuremap', $featuremap_id, $property, 'featuremap_property', $value, $insert_if_missing);
}