private function OBOImporter::getTerm
3.x OBOImporter.inc | private OBOImporter::getTerm($id) |
Retrieves the term array from the temp loading table for a given term id.
Parameters
id: The id of the term to retrieve
1 call to OBOImporter::getTerm()
- OBOImporter::addRelationship in tripal_chado/
includes/ TripalImporter/ OBOImporter.inc - Adds a cvterm relationship
File
- tripal_chado/
includes/ TripalImporter/ OBOImporter.inc, line 1081
Class
Code
private function getTerm($id) {
$values = array('id' => $id);
$result = chado_select_record('tripal_obo_temp', array('stanza'), $values);
if (count($result) == 0) {
return FALSE;
}
return unserialize(base64_decode($result[0]->stanza));
}