1 | <?php |
||
11 | class ResultSimplifier { |
||
12 | |||
13 | 4 | public function newSubjectCollection( SMWQueryResult $result ): SubjectCollection { |
|
22 | |||
23 | /** |
||
24 | * @param DIWikiPage $resultPage |
||
25 | * @param PrintRequest[] $printRequests |
||
26 | * @param SMWQueryResult $result |
||
27 | * @return Subject |
||
28 | */ |
||
29 | 3 | private function newSubject( DIWikiPage $resultPage, array $printRequests, SMWQueryResult $result ): Subject { |
|
43 | |||
44 | /** |
||
45 | * Compat with SMW 3.0 |
||
46 | * In 3.1+ do: ResultArray::factory( $resultPage, $printRequest, $result ) |
||
47 | */ |
||
48 | 3 | private function newResultArray( DIWikiPage $resultPage, PrintRequest $printRequest, SMWQueryResult $result ): \SMWResultArray { |
|
56 | |||
57 | } |
||
58 |