Add protected getCurrentRow to TablePager
This makes unit testing TablePagers easier Change-Id: I899ec6b056fb1f007a6caf0be320324cffe08326
This commit is contained in:
parent
7a1b87e543
commit
72bd5c9e56
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue