typo3/sysext/core/Classes/Database/RelationHandler.php 1 location
|
@@ 1653-1660 (lines=8) @@
|
| 1650 |
|
* @param int $id |
| 1651 |
|
* @return int |
| 1652 |
|
*/ |
| 1653 |
|
protected function getLiveDefaultId($tableName, $id) |
| 1654 |
|
{ |
| 1655 |
|
$liveDefaultId = BackendUtility::getLiveVersionIdOfRecord($tableName, $id); |
| 1656 |
|
if ($liveDefaultId === null) { |
| 1657 |
|
$liveDefaultId = $id; |
| 1658 |
|
} |
| 1659 |
|
return (int)$liveDefaultId; |
| 1660 |
|
} |
| 1661 |
|
|
| 1662 |
|
/** |
| 1663 |
|
* @param string $tableName |
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php 1 location
|
@@ 417-424 (lines=8) @@
|
| 414 |
|
* @return int |
| 415 |
|
* @todo: the workspace mess still must be resolved somehow |
| 416 |
|
*/ |
| 417 |
|
protected function getLiveDefaultId($tableName, $uid) |
| 418 |
|
{ |
| 419 |
|
$liveDefaultId = BackendUtility::getLiveVersionIdOfRecord($tableName, $uid); |
| 420 |
|
if ($liveDefaultId === null) { |
| 421 |
|
$liveDefaultId = $uid; |
| 422 |
|
} |
| 423 |
|
return $liveDefaultId; |
| 424 |
|
} |
| 425 |
|
|
| 426 |
|
/** |
| 427 |
|
* @return BackendUserAuthentication |