|
@@ 900-905 (lines=6) @@
|
| 897 |
|
$resId = $this->getValue($data, $relationship->getDataPath() . '.id'); |
| 898 |
|
} |
| 899 |
|
|
| 900 |
|
if ((null !== $resId) && |
| 901 |
|
(null !== $resType) && |
| 902 |
|
(null !== ($res = $this->context->getResource($resType, $resId))) |
| 903 |
|
) { |
| 904 |
|
return $this->setProperty($pathValue, $res, $relationship); |
| 905 |
|
} |
| 906 |
|
|
| 907 |
|
|
| 908 |
|
if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) { |
|
@@ 945-950 (lines=6) @@
|
| 942 |
|
$resId = $this->getValue($data, $path . '.id'); |
| 943 |
|
} |
| 944 |
|
|
| 945 |
|
if ((null !== $resType) && |
| 946 |
|
(null !== $resId) && |
| 947 |
|
(null !== ($parsed = $this->context->getResource($resType, $resId))) |
| 948 |
|
) { |
| 949 |
|
return $parsed; |
| 950 |
|
} |
| 951 |
|
|
| 952 |
|
$params = $relationship->getDataTypeParams(); |
| 953 |
|
|