@@ -87,6 +87,7 @@ |
||
87 | 87 | * author - 'NULL', 'NOT NULL', id, array of ids |
88 | 88 | * collections - CollectionInterface |
89 | 89 | * mode - string public|admin |
90 | + * @param integer $page |
|
90 | 91 | */ |
91 | 92 | public function getPager(array $criteria, $page, $limit = 10, array $sort = array()) |
92 | 93 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sonata\DatagridBundle\Pager\Doctrine\Pager; |
18 | 18 | use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery; |
19 | 19 | use Sonata\NewsBundle\Model\BlogInterface; |
20 | -use Sonata\NewsBundle\Model\PostInterface; |
|
21 | 20 | use Sonata\NewsBundle\Model\PostManagerInterface; |
22 | 21 | |
23 | 22 | class PostManager extends BaseEntityManager implements PostManagerInterface |