| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 64 | public function getChildrenUrl(): string |
||
| 65 | { |
||
| 66 | $url = ''; |
||
| 67 | if ($parent = $this->get('related_to')) { |
||
| 68 | $url = "index.php?module={$this->moduleName}&view=Comment&record={$this->getId()}&mode=getChildren&sourceId={$parent['record']}&sourceModule={$parent['referenceModule']}"; |
||
| 69 | } |
||
| 70 | return $url; |
||
| 71 | } |
||
| 72 | } |
||
| 73 |