diff --git a/src/Pluf/Paginator.php b/src/Pluf/Paginator.php index 4802f05..ca39b88 100644 --- a/src/Pluf/Paginator.php +++ b/src/Pluf/Paginator.php @@ -84,6 +84,16 @@ class Pluf_Paginator * you can create new columns in the table. */ protected $list_display = array(); + + /** + * Extra classes that will be applied to the td of each cell of + * each column. + * + * If you have 3 columns and put array('one', '', 'foo') all the + * td of the first column will have the class 'one' set and the + * tds of the last column will have the 'foo' class set. + */ + public $extra_classes = array(); /** * The fields being searched. @@ -466,7 +476,8 @@ class Pluf_Paginator if ($i == 0) { $text = $this->getEditAction($text, $item); } - $out.='