function tripal_contact_get_property

2.x tripal_contact.DEPRECATED.inc tripal_contact_get_property($contact_id, $property)
3.x tripal_contact.DEPRECATED.inc tripal_contact_get_property($contact_id, $property)
1.x tripal_contact.api.inc tripal_contact_get_property($contact_id, $property)

Retrieve properties of a given type for a given contact

Parameters

$contact_id: The contact_id of the properties you would like to retrieve

$property: The cvterm name of the properties to retrieve

Return value

An contact chado variable with the specified properties expanded

Related topics

1 call to tripal_contact_get_property()
chado_contact_form in tripal_contact/includes/tripal_contact.form.inc
Implementation of tripal_contact_form().

File

tripal_contact/api/tripal_contact.api.inc, line 23
Provides an application programming interface (API) to manage libraries

Code

function tripal_contact_get_property($contact_id, $property) {
  return tripal_core_get_property('contact', $contact_id, $property, 'tripal_contact');
}