function tripal_pub_get_property

2.x tripal_pub.DEPRECATED.inc tripal_pub_get_property($pub_id, $property)
3.x tripal_pub.DEPRECATED.inc tripal_pub_get_property($pub_id, $property)
1.x tripal_pub.api.inc tripal_pub_get_property($pub_id, $property)

Retrieve properties of a given type for a given pub

Parameters

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

$property: The cvterm name of the properties to retrieve

Return value

An pub chado variable with the specified properties expanded

Related topics

File

tripal_pub/api/tripal_pub.api.inc, line 908
The Tripal Pub API

Code

function tripal_pub_get_property($pub_id, $property) {
  return tripal_core_get_property('pub', $pub_id, $property, 'tripal_pub');
}