object_relationships: an array of stock relaionship objects // where each object has the following fields: stock_relationship_id, // subject_id (current stock_id), type_id, type, value, rank, object // - $node->object_relationships->object: a stock object describing the // object stock with the fields: stock_id, stock_name, uniquename, // description, stock_type_id, organism(object), man_db_reference(object), // nid (if sync'd with Drupal) // NOTE: For a full listing of fields available in the node object the // print_r $node line below or install the Drupal Devel module which // provides an extra tab at the top of the node page labelled Devel ?> '.print_r($node,TRUE).''; ?> stock->stock_object_relationships; if (!$relationships) { $relationships = array(); } elseif (!is_array($relationships)) { $relationships = array($relationships); } ?>
Object Relationships
The stock 'stock->name ?>' is the subject in the following relationships:
0){ ?> object_id; if ($object->nid) {?>
Current Stock (Subject) Type Object
stock->name; ?> type_id->name; ?> name.' ('.$object->uniquename.')', 'node/'.$object->nid); ?> name.' ('.$object->uniquename.')'; ?>
There are no relationships where the current stock is the subject'; } //end of if there are object relationships ?>