| @@ 55-60 (lines=6) @@ | ||
| 52 | $tags[] = 'relation-'.$signal->contentId; |
|
| 53 | } |
|
| 54 | ||
| 55 | if (isset($signal->locationId)) { |
|
| 56 | // self |
|
| 57 | $tags[] = 'location-'.$signal->locationId; |
|
| 58 | // direct children |
|
| 59 | $tags[] = 'parent-'.$signal->locationId; |
|
| 60 | } |
|
| 61 | ||
| 62 | if (isset($signal->parentLocationId)) { |
|
| 63 | // direct parent |
|
| @@ 62-67 (lines=6) @@ | ||
| 59 | $tags[] = 'parent-'.$signal->locationId; |
|
| 60 | } |
|
| 61 | ||
| 62 | if (isset($signal->parentLocationId)) { |
|
| 63 | // direct parent |
|
| 64 | $tags[] = 'location-'.$signal->parentLocationId; |
|
| 65 | // direct siblings |
|
| 66 | $tags[] = 'parent-'.$signal->parentLocationId; |
|
| 67 | } |
|
| 68 | ||
| 69 | return $tags; |
|
| 70 | } |
|