Add protected getCurrentRow to TablePager

This makes unit testing TablePagers easier

Change-Id: I899ec6b056fb1f007a6caf0be320324cffe08326
This commit is contained in:
addshore 2015-08-29 14:08:44 +02:00 committed by Reedy
parent 7a1b87e543
commit 72bd5c9e56

View file

@ -233,6 +233,13 @@ abstract class TablePager extends IndexPager {
}
}
/**
* @return stdClass
*/
protected function getCurrentRow() {
return $this->mCurrentRow;
}
/**
* Get any extra attributes to be applied to the given cell. Don't
* take this as an excuse to hardcode styles; use classes and