function tripal_feature_get_property

2.x tripal_feature.DEPRECATED.inc tripal_feature_get_property($feature_id, $property, $cv_name = 'tripal')
3.x tripal_feature.DEPRECATED.inc tripal_feature_get_property($feature_id, $property, $cv_name = 'tripal')
1.x tripal_feature.api.inc tripal_feature_get_property($feature_id, $property, $cv_name = 'tripal')

Retrieve properties of a given type for a given feature

Parameters

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

$property: The cvterm name of the properties to retrieve

$cv_name: Optional. The name of the cv to which the property belongs. By default this is the 'tripal' cv.

Return value

A feature chado variable with the specified properties expanded

Related topics

File

tripal_feature/api/tripal_feature.api.inc, line 289
Provides an application programming interface (API) for working with features

Code

function tripal_feature_get_property($feature_id, $property, $cv_name = 'tripal') {
  return tripal_core_get_property('feature', $feature_id, $property, $cv_name);
}