function tripal_contact_delete_property
2.x tripal_contact.DEPRECATED.inc | tripal_contact_delete_property($contact_id, $property) |
3.x tripal_contact.DEPRECATED.inc | tripal_contact_delete_property($contact_id, $property) |
1.x tripal_contact.api.inc | tripal_contact_delete_property($contact_id, $property) |
Delete a given property
Parameters
$contact_id: The contact_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 $contact_id and $property and then it will be deleted
Return value
True of success, False otherwise
Related topics
File
- tripal_contact/
api/ tripal_contact.api.inc, line 87 - Provides an application programming interface (API) to manage libraries
Code
function tripal_contact_delete_property($contact_id, $property) {
return tripal_core_delete_property('contact', $contact_id, $property, 'tripal_contact');
}