DataView: Remove method paginate()
This commit is contained in:
parent
73e8c51fd1
commit
a629adb448
|
@ -389,22 +389,6 @@ abstract class DataView implements QueryInterface, IteratorAggregate
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Paginate data
|
||||
*
|
||||
* @param int $itemsPerPage Number of items per page
|
||||
* @param int $pageNumber Current page number
|
||||
*
|
||||
* @return Zend_Paginator
|
||||
*/
|
||||
public function paginate($itemsPerPage = null, $pageNumber = null)
|
||||
{
|
||||
if (! $this->isSorted) {
|
||||
$this->order();
|
||||
}
|
||||
return $this->query->paginate($itemsPerPage, $pageNumber);
|
||||
}
|
||||
|
||||
/**
|
||||
* Count result set
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue