function tripal_analysis_update_property
2.x tripal_analysis.DEPRECATED.inc | tripal_analysis_update_property($analysis_id, $property, $value, $insert_if_missing = 0, $cv_name = 'tripal') |
3.x tripal_analysis.DEPRECATED.inc | tripal_analysis_update_property($analysis_id, $property, $value, $insert_if_missing = 0, |
1.x tripal_analysis.api.inc | tripal_analysis_update_property($analysis_id, $property, $value, $insert_if_missing = 0, $cvname = 'tripal') |
Update a given property
Parameters
$analysis_id: The analysis_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
$cvname: The name of the vocabulary to which the term belongs. Defaults to 'tripal'.
Note: The property will be identified using the unique combination of the $analysis_id and $property and then it will be updated with the supplied value
Return value
True of success, False otherwise
Related topics
File
- tripal_analysis/
api/ tripal_analysis.api.inc, line 104 - API functions relating to Analysis'
Code
function tripal_analysis_update_property($analysis_id, $property, $value, $insert_if_missing = 0, $cvname = 'tripal') {
return tripal_core_update_property('analysis', $analysis_id, $property, $cvname, $value, $insert_if_missing);
}