Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 0 |
1 | <?php |
||
10 | class org_openpsa_qbpager_direct extends org_openpsa_qbpager |
||
11 | { |
||
12 | 1 | protected function _prepare_qbs(string $classname) |
|
13 | { |
||
14 | 1 | $this->_midcom_qb = new midgard_query_builder($classname); |
|
15 | // Make another QB for counting, we need to do this to avoid trouble with core internal references system |
||
16 | 1 | $this->_midcom_qb_count = new midgard_query_builder($classname); |
|
17 | 1 | } |
|
18 | |||
19 | /** |
||
20 | * Wraps to execute since this is what midcom QB does, too |
||
21 | */ |
||
22 | 1 | public function execute_unchecked() : array |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Wraps to count since this is what midcom QB does, too |
||
29 | */ |
||
30 | public function count_unchecked() : int |
||
38 |