server/src/app/Repositories/DocumentRepository.php
changeset 339 766af1228b05
parent 326 226d5b17a119
child 502 74fba571487e
equal deleted inserted replaced
338:4a3899b6a7ed 339:766af1228b05
    19      * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
    19      * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
    20      */
    20      */
    21     public function paginateAll($perPage = 15, $pageName = 'page', $page = null);
    21     public function paginateAll($perPage = 15, $pageName = 'page', $page = null);
    22 
    22 
    23     /**
    23     /**
       
    24      * Paginate filtered document as a paginator.
       
    25      *
       
    26      * @param  array $filters
       
    27      * @param  int  $perPage
       
    28      * @param  string  $pageName
       
    29      * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
       
    30      */
       
    31     public function paginate($filters = [], $perPage = 15, $pageName = 'page', $page = null, $sort = null);
       
    32 
       
    33 
       
    34     /**
    24      * Resolve lexvo id for all documents in the list
    35      * Resolve lexvo id for all documents in the list
    25      * this allow to optimise the call of lexvo repository
    36      * this allow to optimise the call of lexvo repository
    26      */
    37      */
    27     public function resolveLexvo(Array $docList);
    38     public function resolveLexvo(Array $docList);
    28 
    39