2 namespace TYPO3\CMS\Linkvalidator\Linktype;
48 $parts = explode(
':',
$url);
49 if (count($parts) !== 3) {
53 list(, $tableName, $rowid) = $parts;
57 $tsConfig = $reference->getTSConfig();
58 $reportHiddenRecords = (bool)$tsConfig[
'linkhandler.'][
'reportHiddenRecords'];
62 if ($reportHiddenRecords) {
63 $row = $this->
getRecordRow($tableName, $rowid,
'disabled');
66 $errorType = self::DISABLED;
73 $row = $this->
getRecordRow($tableName, $rowid,
'deleted');
76 $errorType = self::DELETED;
111 $type =
'linkhandler';
126 if (!empty(
$GLOBALS[
'TCA'][$tableName][
'ctrl'][
'title'])) {
131 switch ($errorType) {
155 $message = str_replace(
'###uid###', (
int)$uid, $message);
157 $message = str_replace(
'###title###', htmlspecialchars($title), $message);
178 $whereStatement =
'uid = ' . (int)$uid;
197 if ($row ===
false) {