function tripal_contact_get_property

2.x tripal_contact_get_property($contact_id, $property)
1.x tripal_contact_get_property($contact_id, $property)

Retrieve properties of a given type for a given contact


$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/
Implementation of tripal_contact_form().


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


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