function tripal_feature_analysis_update_property_by_id
2.x tripal_feature.DEPRECATED.inc | tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id, $property, $value, $cv_name = 'tripal') |
3.x tripal_feature.DEPRECATED.inc | tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id, $property, $value, $cv_name = 'tripal') |
1.x tripal_feature.api.inc | tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id,
$property, $value, $cv_name = 'tripal') |
Update a property for an analysis feature using the analysisfeatureprop_id.
Parameters
$analysisfeatureprop_id: The analysis feature property ID for the analysis feature.
$property: The cvterm name of the property
$value: The value of the property
$cv_name: Optional. The name of the cv to which the property belongs. By default this is the 'tripal' cv. *
Return value
True of success, False otherwise
Related topics
File
- tripal_feature/
api/ tripal_feature.api.inc, line 198 - Provides an application programming interface (API) for working with features
Code
function tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id,
$property, $value, $cv_name = 'tripal') {
// update the property.
return tripal_core_update_property_by_id('analysisfeature',
$analysisfeatureprop_id, $property, $cv_name, $value);
}