project; // expand the project object to include the contacts from the project_contact // table in chado. $project = tripal_core_expand_chado_vars($project,'table','project_contact', array('return_array' => 1)); $contacts = $project->project_contact; if (count($contacts) > 0) { ?>
People
The following people particpated in development or execution of this project
contact_id->name ?>, contact_id->description ?> contactprop) { foreach ($contact->contactprop as $prop) { $class = 'tripal-table-odd-row'; if ($i % 2 == 0 ) { $class = 'tripal-table-even-row'; } # make the type a bit more reader friendly $type = $prop->type_id->name; $type = preg_replace("/_/", " ", $type); $type = ucwords($type); ?>
value ?>
No contact information available for contact_id->name ?>