Core/Executor/ContentManager.php 1 location
|
@@ 394-397 (lines=4) @@
|
| 391 |
|
case 'content_type_id': |
| 392 |
|
$value = $content->contentInfo->contentTypeId; |
| 393 |
|
break; |
| 394 |
|
case 'content_type_identifier': |
| 395 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 396 |
|
$value = $contentTypeService->loadContentType($content->contentInfo->contentTypeId)->identifier; |
| 397 |
|
break; |
| 398 |
|
case 'current_version': |
| 399 |
|
case 'current_version_no': |
| 400 |
|
$value = $content->contentInfo->currentVersionNo; |
Core/Executor/LocationManager.php 1 location
|
@@ 304-307 (lines=4) @@
|
| 301 |
|
case 'content_type_id': |
| 302 |
|
$value = $location->contentInfo->contentTypeId; |
| 303 |
|
break; |
| 304 |
|
case 'content_type_identifier': |
| 305 |
|
$contentTypeService = $this->repository->getContentTypeService(); |
| 306 |
|
$value = $contentTypeService->loadContentType($location->contentInfo->contentTypeId)->identifier; |
| 307 |
|
break; |
| 308 |
|
case 'current_version': |
| 309 |
|
case 'current_version_no': |
| 310 |
|
$value = $location->contentInfo->currentVersionNo; |