Index: trunk/phase3/includes/Pager.php |
— | — | @@ -745,7 +745,8 @@ |
746 | 746 | } |
747 | 747 | |
748 | 748 | function formatRow( $row ) { |
749 | | - $s = "<tr>\n"; |
| 749 | + $class = $this->getRowClass( $row ); |
| 750 | + $s = "<tr class=\"$class\">\n"; |
750 | 751 | $fieldNames = $this->getFieldNames(); |
751 | 752 | $this->mCurrentRow = $row; # In case formatValue needs to know |
752 | 753 | foreach ( $fieldNames as $field => $name ) { |
— | — | @@ -761,6 +762,10 @@ |
762 | 763 | return $s; |
763 | 764 | } |
764 | 765 | |
| 766 | + function getRowClass($row) { |
| 767 | + return ''; |
| 768 | + } |
| 769 | + |
765 | 770 | function getIndexField() { |
766 | 771 | return $this->mSort; |
767 | 772 | } |