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).''; ?>
Object Relationships
The stock 'stock_name ?>' is the subject in the following relationships:
object_relationships) > 0){ ?> object_relationships as $result){ $class = 'tripal_stock-table-odd-row tripal-table-odd-row'; if($i % 2 == 0 ){ $class = 'tripal_stock-table-odd-row tripal-table-even-row'; } ?> object; if ($object->nid) {?>
Current Stock (Subject) Type Object
stock_name; ?> type; ?> stock_name.' ('.$object->uniquename.')', 'node/'.$object->nid); ?> stock_name.' ('.$object->uniquename.')'; ?>