function get_row_class() { $classes = array(Stock::row_class()); if ($this->removed) { $classes[] = 'row-removed'; } if ($this->changed) { $classes[] = 'row-changed'; } return implode(' ', $classes); }
<tr class="<?php echo Stock::row_class(); ?> "> <td class="cell10"><input type="checkbox" name="isin[]" value="<?php echo $transaction->isin; ?> " /></td> <td class="cell10"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><?php print $this->link_to($transaction->isin, array('controller' => 'titoli', 'action' => 'browse', 'id' => $transaction->isin)); ?> </td> <td> </td> <td align="right"><a href="<?php echo $transaction->stock->details_url(); ?> "><img src="/img/circled_arrow.png" alt="Dettagli" /></a></td> </tr> </table> </td> <td class="cell10"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td><?php print $this->link_to($transaction->stock->title, array('controller' => 'titoli', 'action' => 'browse', 'id' => $transaction->isin)); ?> </td>