@@ 100-106 (lines=7) @@ | ||
97 | * |
|
98 | * @return Pagerfanta |
|
99 | */ |
|
100 | public function findPaginated($query, $options = array()) |
|
101 | { |
|
102 | $queryObject = Query::create($query); |
|
103 | $paginatorAdapter = $this->createPaginatorAdapter($queryObject, $options); |
|
104 | ||
105 | return new Pagerfanta(new FantaPaginatorAdapter($paginatorAdapter)); |
|
106 | } |
|
107 | ||
108 | /** |
|
109 | * {@inheritdoc} |
|
@@ 111-117 (lines=7) @@ | ||
108 | /** |
|
109 | * {@inheritdoc} |
|
110 | */ |
|
111 | public function findRawPaginated($query, $options = array()) |
|
112 | { |
|
113 | $queryObject = Query::create($query); |
|
114 | $paginatorAdapter = $this->createRawPaginatorAdapter($queryObject, $options); |
|
115 | ||
116 | return new Pagerfanta(new FantaPaginatorAdapter($paginatorAdapter)); |
|
117 | } |
|
118 | ||
119 | /** |
|
120 | * {@inheritdoc} |