function tripal_featuremap_insert_property
2.x tripal_featuremap.DEPRECATED.inc | tripal_featuremap_insert_property($featuremap_id, $property, $value, $update_if_present = 0) |
3.x tripal_featuremap.DEPRECATED.inc | tripal_featuremap_insert_property($featuremap_id, $property, $value, $update_if_present = 0) |
1.x tripal_featuremap.api.inc | tripal_featuremap_insert_property($featuremap_id, $property, $value, $update_if_present = 0) |
Insert a given property
Parameters
$featuremap_id: The featuremap_id of the property to insert
$property: The cvterm name of the property to insert
$value: The value of the property to insert
$update_if_present: A boolean indicated whether to update the record if it's already present
Return value
True of success, False otherwise
2 calls to tripal_featuremap_insert_property()
- chado_featuremap_insert in tripal_featuremap/
tripal_featuremap.module - When a new chado_featuremap node is created we also need to add information to our chado_featuremap table. This function is called on insert of a new node of type 'chado_featuremap' and inserts the necessary information.
- chado_featuremap_update in tripal_featuremap/
tripal_featuremap.module - Update nodes
File
- tripal_featuremap/
api/ tripal_featuremap.api.inc, line 37
Code
function tripal_featuremap_insert_property($featuremap_id, $property, $value, $update_if_present = 0) {
return tripal_core_insert_property('featuremap', $featuremap_id, $property, 'featuremap_property', $value, $update_if_present);
}