Core/Executor/ContentManager.php 1 location
|
@@ 423-426 (lines=4) @@
|
| 420 |
|
case 'section_id': |
| 421 |
|
$value = $content->contentInfo->sectionId; |
| 422 |
|
break; |
| 423 |
|
case 'section_identifier': |
| 424 |
|
$sectionService = $this->repository->getSectionService(); |
| 425 |
|
$value = $sectionService->loadSection($content->contentInfo->sectionId)->identifier; |
| 426 |
|
break; |
| 427 |
|
default: |
| 428 |
|
// allow to get the value of fields as well as their sub-parts |
| 429 |
|
if (strpos($reference['attribute'], 'attributes.') === 0) { |
Core/Executor/LocationManager.php 1 location
|
@@ 330-333 (lines=4) @@
|
| 327 |
|
case 'section_id': |
| 328 |
|
$value = $location->contentInfo->sectionId; |
| 329 |
|
break; |
| 330 |
|
case 'section_identifier': |
| 331 |
|
$sectionService = $this->repository->getSectionService(); |
| 332 |
|
$value = $sectionService->loadSection($location->contentInfo->sectionId)->identifier; |
| 333 |
|
break; |
| 334 |
|
case 'sort_field': |
| 335 |
|
$value = $this->sortConverter->sortField2Hash($location->sortField); |
| 336 |
|
break; |