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).''; ?>
Current Stock (Subject) | Type | Object | |
---|---|---|---|
stock_name; ?> | type; ?> | object; if ($object->nid) {?>stock_name.' ('.$object->uniquename.')', 'node/'.$object->nid); ?> | stock_name.' ('.$object->uniquename.')'; ?> |