Add IndexPager::getResult so that other code (API) can access the result.
This commit is contained in:
parent
9d438653a5
commit
666ab2c774
1 changed files with 7 additions and 0 deletions
|
|
@ -154,6 +154,13 @@ abstract class IndexPager implements Pager {
|
|||
|
||||
wfProfileOut( $fname );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the result wrapper.
|
||||
*/
|
||||
function getResult() {
|
||||
return $this->mResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract some useful data from the result object for use by
|
||||
|
|
|
|||
Loading…
Reference in a new issue