function tripal_project_get_property

2.x tripal_project.DEPRECATED.inc tripal_project_get_property($project_id, $property)
3.x tripal_project.DEPRECATED.inc tripal_project_get_property($project_id, $property)
1.x tripal_project.api.inc tripal_project_get_property($project_id, $property)

Retrieve properties of a given type for a given project

Parameters

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

$property: The cvterm name of the properties to retrieve

Return value

An project chado variable with the specified properties expanded

Related topics

1 call to tripal_project_get_property()
chado_project_form in tripal_project/tripal_project.module
Implementation of hook_form().

File

tripal_project/api/tripal_project.api.inc, line 25
Provides an application programming interface (API) to manage projects

Code

function tripal_project_get_property($project_id, $property) {
  return tripal_core_get_property('project', $project_id, $property, 'tripal');
}