Core/Executor/ContentManager.php 1 location
|
@@ 428-431 (lines=4) @@
|
| 425 |
|
case 'section_id': |
| 426 |
|
$value = $content->contentInfo->sectionId; |
| 427 |
|
break; |
| 428 |
|
case 'section_identifier': |
| 429 |
|
$sectionService = $this->repository->getSectionService(); |
| 430 |
|
$value = $sectionService->loadSection($content->contentInfo->sectionId)->identifier; |
| 431 |
|
break; |
| 432 |
|
case 'version_count': |
| 433 |
|
$contentService = $this->repository->getContentService(); |
| 434 |
|
$value = count($contentService->loadVersions($content->contentInfo)); |
Core/Executor/LocationManager.php 1 location
|
@@ 348-351 (lines=4) @@
|
| 345 |
|
case 'section_id': |
| 346 |
|
$value = $location->contentInfo->sectionId; |
| 347 |
|
break; |
| 348 |
|
case 'section_identifier': |
| 349 |
|
$sectionService = $this->repository->getSectionService(); |
| 350 |
|
$value = $sectionService->loadSection($location->contentInfo->sectionId)->identifier; |
| 351 |
|
break; |
| 352 |
|
case 'sort_field': |
| 353 |
|
$value = $this->sortConverter->sortField2Hash($location->sortField); |
| 354 |
|
break; |