TYPO3
7.6
|
Public Member Functions | |
checkLink ($url, $softRefEntry, $reference) | |
getErrorMessage ($errorParams) | |
getBrokenUrl ($row) | |
Public Member Functions inherited from AbstractLinktype | |
fetchType ($value, $type, $key) | |
getErrorParams () | |
getBrokenUrl ($row) | |
Public Attributes | |
const | DELETED = 'deleted' |
const | HIDDEN = 'hidden' |
const | MOVED = 'moved' |
const | NOTEXISTING = 'notExisting' |
Protected Member Functions | |
checkPage ($page) | |
checkContent ($page, $anchor) | |
Protected Member Functions inherited from AbstractLinktype | |
setErrorParams ($value) | |
getLanguageService () | |
getDatabaseConnection () | |
Protected Attributes | |
$responsePage = true | |
$responseContent = true | |
Protected Attributes inherited from AbstractLinktype | |
$errorParams = array() | |
This class provides Check Internal Links plugin implementation
Definition at line 23 of file InternalLinktype.php.
|
protected |
Checks a given content uid for validity
string | $page | Uid of the page to which the link is pointing |
string | $anchor | Uid of the content element to check |
Definition at line 140 of file InternalLinktype.php.
References $GLOBALS, InternalLinktype\$responseContent, elseif, and AbstractLinktype\getDatabaseConnection().
Referenced by InternalLinktype\checkLink().
checkLink | ( | $url, | |
$softRefEntry, | |||
$reference | |||
) |
Checks a given URL + /path/filename.ext for validity
string | $url | Url to check as page-id or page-id#anchor (if anchor is present) |
array | $softRefEntry,: | The soft reference entry which builds the context of that url |
\TYPO3\CMS\Linkvalidator\LinkAnalyzer | $reference | Parent instance |
Implements LinktypeInterface.
Definition at line 67 of file InternalLinktype.php.
References $url, InternalLinktype\checkContent(), InternalLinktype\checkPage(), and AbstractLinktype\setErrorParams().
|
protected |
Checks a given page uid for validity
string | $page | Page uid to check |
Definition at line 109 of file InternalLinktype.php.
References $GLOBALS, InternalLinktype\$responsePage, elseif, and AbstractLinktype\getDatabaseConnection().
Referenced by InternalLinktype\checkLink().
getBrokenUrl | ( | $row | ) |
Constructs a valid Url for browser output
array | $row | Broken link record |
Implements LinktypeInterface.
Definition at line 298 of file InternalLinktype.php.
References BackendUtility\BEgetRootLine(), BackendUtility\firstDomainRecord(), and GeneralUtility\getIndpEnv().
getErrorMessage | ( | $errorParams | ) |
Generates the localized error message from the error params saved from the parsing
array | $errorParams | All parameters needed for the rendering of the error message |
Implements LinktypeInterface.
Definition at line 190 of file InternalLinktype.php.
References AbstractLinktype\$errorParams, $lang, $response, elseif, and AbstractLinktype\getLanguageService().
|
protected |
Definition at line 57 of file InternalLinktype.php.
Referenced by InternalLinktype\checkContent().
|
protected |
Definition at line 50 of file InternalLinktype.php.
Referenced by InternalLinktype\checkPage().
const DELETED = 'deleted' |
Definition at line 28 of file InternalLinktype.php.
const HIDDEN = 'hidden' |
Definition at line 33 of file InternalLinktype.php.
const MOVED = 'moved' |
Definition at line 38 of file InternalLinktype.php.
const NOTEXISTING = 'notExisting' |
Definition at line 43 of file InternalLinktype.php.