mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
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;
|
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
|
* Count result set
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user