module/Organizations/src/Organizations/Repository/Organization.php 1 location
|
@@ 42-48 (lines=7) @@
|
| 39 |
|
* @param array $params |
| 40 |
|
* @return mixed |
| 41 |
|
*/ |
| 42 |
|
protected function getPaginationQueryBuilder($params) |
| 43 |
|
{ |
| 44 |
|
$filter = $this->getService('filterManager')->get('Organizations/PaginationQuery'); |
| 45 |
|
$qb = $filter->filter($params, $this->createQueryBuilder()); |
| 46 |
|
|
| 47 |
|
return $qb; |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
/** |
| 51 |
|
* Gets a cursor for all hiring organizations. |
module/Applications/src/Applications/Repository/Application.php 1 location
|
@@ 83-89 (lines=7) @@
|
| 80 |
|
* @param array $params |
| 81 |
|
* @return unknown |
| 82 |
|
*/ |
| 83 |
|
protected function getPaginationQueryBuilder($params) |
| 84 |
|
{ |
| 85 |
|
$filter = $this->getService('filterManager')->get('PaginationQuery/Applications'); |
| 86 |
|
$qb = $filter->filter($params, $this->createQueryBuilder()); |
| 87 |
|
|
| 88 |
|
return $qb; |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
/** |
| 92 |
|
* Gets a result list of applications |
module/Jobs/src/Jobs/Repository/Job.php 1 location
|
@@ 29-35 (lines=7) @@
|
| 26 |
|
* @param $params |
| 27 |
|
* @return mixed |
| 28 |
|
*/ |
| 29 |
|
public function getPaginatorCursor($params) |
| 30 |
|
{ |
| 31 |
|
$filter = $this->getService('filterManager')->get('Jobs/PaginationQuery'); |
| 32 |
|
/* @var $filter \Core\Repository\Filter\AbstractPaginationQuery */ |
| 33 |
|
$qb = $filter->filter($params, $this->createQueryBuilder()); |
| 34 |
|
return $qb->getQuery()->execute(); |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
/** |
| 38 |
|
* Checks, if a job posting with a certain applyId (external job id) exists |