1 | <?php |
||
23 | class Pager extends BasePager |
||
24 | { |
||
25 | /** |
||
26 | * Returns a query for counting the total results. |
||
27 | * |
||
28 | * @return integer |
||
29 | */ |
||
30 | public function computeNbResult() |
||
34 | |||
35 | /** |
||
36 | * Get all the results for the pager instance |
||
37 | * |
||
38 | * @param mixed $hydrationMode A hydration mode identifier |
||
39 | * |
||
40 | * @return array |
||
41 | */ |
||
42 | public function getResults($hydrationMode = null) |
||
46 | |||
47 | /** |
||
48 | * Initializes the pager setting the offset and maxResults in ProxyQuery |
||
49 | * and obtaining the total number of pages. |
||
50 | * |
||
51 | * @throws \RuntimeException the QueryBuilder is uninitialized. |
||
52 | */ |
||
53 | public function init() |
||
73 | } |
||
74 |