Core/Executor/ContentManager.php 1 location
|
@@ 378-381 (lines=4) @@
|
| 375 |
|
case 'content_type_id': |
| 376 |
|
$value = $content->contentInfo->contentTypeId; |
| 377 |
|
break; |
| 378 |
|
case 'content_type_identifier': |
| 379 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 380 |
|
$value = $contentTypeService->loadContentType($content->contentInfo->contentTypeId)->identifier; |
| 381 |
|
break; |
| 382 |
|
case 'current_version': |
| 383 |
|
case 'current_version_no': |
| 384 |
|
$value = $content->contentInfo->currentVersionNo; |
Core/Executor/LocationManager.php 1 location
|
@@ 279-282 (lines=4) @@
|
| 276 |
|
case 'content_type_id': |
| 277 |
|
$value = $location->contentInfo->contentTypeId; |
| 278 |
|
break; |
| 279 |
|
case 'content_type_identifier': |
| 280 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 281 |
|
$value = $contentTypeService->loadContentType($location->contentInfo->contentTypeId)->identifier; |
| 282 |
|
break; |
| 283 |
|
case 'current_version': |
| 284 |
|
case 'current_version_no': |
| 285 |
|
$value = $location->contentInfo->currentVersionNo; |