| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | protected function getFromApi(array $headers): array |
||
| 32 | { |
||
| 33 | $api = \App\Api::getInstance(); |
||
| 34 | $api->setCustomHeaders($headers); |
||
| 35 | return $api->call("{$this->getModuleName()}/RecordRelatedList/{$this->detailViewModel->getRecordModel()->getId()}/" . $this->request->getByType('relatedModuleName', Purifier::ALNUM), [ |
||
| 36 | 'relationId' => $this->request->getInteger('relationId'), |
||
| 37 | ]); |
||
| 38 | } |
||
| 39 | |||
| 70 |