function tripal_feature_update_property_by_id
2.x tripal_feature.DEPRECATED.inc | tripal_feature_update_property_by_id($featureprop_id, $property, $value, $cv_name = 'tripal') |
3.x tripal_feature.DEPRECATED.inc | tripal_feature_update_property_by_id($featureprop_id, $property, $value, $cv_name = 'tripal') |
1.x tripal_feature.api.inc | tripal_feature_update_property_by_id($featureprop_id, $property,
$value, $cv_name = 'tripal') |
Update a given feature property using the featureprop_id
Parameters
$featureprop_id: The featureprop_id of the property to update
$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
1 call to tripal_feature_update_property_by_id()
- tripal_feature_edit_ALL_properties_form_submit in tripal_feature/
includes/ tripal_feature-properties.inc
File
- tripal_feature/
api/ tripal_feature.api.inc, line 365 - Provides an application programming interface (API) for working with features
Code
function tripal_feature_update_property_by_id($featureprop_id, $property,
$value, $cv_name = 'tripal') {
return tripal_core_update_property_by_id('feature', $featureprop_id, $property, $cv_name, $value);
}