blob: 8cd39631152d9e98a182b988733d2a8f553b9cd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<?php
namespace gipfl\IcingaWeb2\Data;
use Countable;
interface Paginatable extends Countable
{
/**
* Set a limit count and offset
*
* @param int $count Number of rows to return
* @param int $offset Skip that many rows
*
* @return self
*/
public function limit($count = null, $offset = null);
/**
* Whether a limit is set
*
* @return bool
*/
public function hasLimit();
/**
* Get the limit if any
*
* @return int|null
*/
public function getLimit();
/**
* Set limit
*
* @param int $limit Number of rows to return
*
* @return int|null
*/
public function setLimit($limit);
/**
* Whether an offset is set
*
* @return bool
*/
public function hasOffset();
/**
* Get the offset if any
*
* @return int|null
*/
public function getOffset();
/**
* Set offset
*
* @param int $offset Skip that many rows
*
* @return int|null
*/
public function setOffset($offset);
}
|