function tripal_pub_delete_property
2.x tripal_pub.DEPRECATED.inc | tripal_pub_delete_property($pub_id, $property) |
3.x tripal_pub.DEPRECATED.inc | tripal_pub_delete_property($pub_id, $property) |
1.x tripal_pub.api.inc | tripal_pub_delete_property($pub_id, $property) |
Delete a given property
Parameters
$pub_id: The pub_id of the property to delete
$property: The cvterm name of the property to delete
Note: The property will be identified using the unique combination of the $pub_id and $property and then it will be deleted
Return value
True of success, False otherwise
Related topics
File
- tripal_pub/
api/ tripal_pub.api.inc, line 972 - The Tripal Pub API
Code
function tripal_pub_delete_property($pub_id, $property) {
return tripal_core_delete_property('pub', $pub_id, $property, 'tripal_pub');
}