Core/Executor/ContentManager.php 1 location
|
@@ 503-506 (lines=4) @@
|
| 500 |
|
case 'content_type_id': |
| 501 |
|
$value = $content->contentInfo->contentTypeId; |
| 502 |
|
break; |
| 503 |
|
case 'content_type_identifier': |
| 504 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 505 |
|
$value = $contentTypeService->loadContentType($content->contentInfo->contentTypeId)->identifier; |
| 506 |
|
break; |
| 507 |
|
case 'current_version': |
| 508 |
|
case 'current_version_no': |
| 509 |
|
$value = $content->contentInfo->currentVersionNo; |
Core/Executor/LocationManager.php 1 location
|
@@ 373-376 (lines=4) @@
|
| 370 |
|
case 'content_type_id': |
| 371 |
|
$value = $location->contentInfo->contentTypeId; |
| 372 |
|
break; |
| 373 |
|
case 'content_type_identifier': |
| 374 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 375 |
|
$value = $contentTypeService->loadContentType($location->contentInfo->contentTypeId)->identifier; |
| 376 |
|
break; |
| 377 |
|
case 'current_version': |
| 378 |
|
case 'current_version_no': |
| 379 |
|
$value = $location->contentInfo->currentVersionNo; |