function tripal_feature_insert_property

2.x tripal_feature.DEPRECATED.inc tripal_feature_insert_property($feature_id, $property, $value, $update_if_present = 0, $cv_name = 'tripal')
3.x tripal_feature.DEPRECATED.inc tripal_feature_insert_property($feature_id, $property, $value, $update_if_present = 0, $cv_name = 'tripal')
1.x tripal_feature.api.inc tripal_feature_insert_property($feature_id, $property, $value, $update_if_present = 0, $cv_name = 'tripal')

Insert a given property

Parameters

$feature_id: The feature_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

$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_insert_property()

File

tripal_feature/api/tripal_feature.api.inc, line 313
Provides an application programming interface (API) for working with features

Code

function tripal_feature_insert_property($feature_id, $property, $value, 
$update_if_present = 0, $cv_name = 'tripal') {
  return tripal_core_insert_property('feature', $feature_id, $property, 
  $cv_name, $value, $update_if_present);
}