44 public function checkLink($url, $softRefEntry, $reference)
49 $parts = explode(
':', $url);
50 if (count($parts) !== 3) {
54 list(, $tableName, $rowid) = $parts;
58 $tsConfig = $reference->getTSConfig();
59 $reportHiddenRecords = (bool)$tsConfig[
'linkhandler.'][
'reportHiddenRecords'];
63 if ($reportHiddenRecords) {
111 if ($value[
'type'] ===
'string' && strpos(strtolower($value[
'tokenValue']),
'record:') === 0) {
112 $type =
'linkhandler';
127 if (!empty(
$GLOBALS[
'TCA'][$tableName][
'ctrl'][
'title'])) {
132 switch ($errorType) {
156 $message = str_replace(
'###uid###', (
int)$uid, $message);
158 $message = str_replace(
'###title###', htmlspecialchars($title), $message);
179 $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($tableName);
186 $queryBuilder->getRestrictions()
188 ->add(GeneralUtility::makeInstance(DeletedRestriction::class));
191 $queryBuilder->getRestrictions()->removeAll();
198 $queryBuilder->expr()->eq(
200 $queryBuilder->createNamedParameter($uid, \PDO::PARAM_INT)