LinktypeInterface
- interface LinktypeInterface
-
- Fully qualified name
-
\TYPO3\
CMS\ Linkvalidator\ Linktype\ Linktype Interface
This class provides interface implementation.
- checkLink ( string $url, array $softRefEntry, TYPO3\\CMS\\Linkvalidator\\LinkAnalyzer $reference)
-
Checks a given link for validity
- param string $url
-
Url to check
- param array $softRefEntry
-
The soft reference entry which builds the context of that url
- param TYPO3\\CMS\\Linkvalidator\\LinkAnalyzer $reference
-
Parent instance
- returntype
-
bool
- Returns
-
bool TRUE on success or FALSE on error
- setAdditionalConfig ( array $config)
-
Function to override config of Linktype. Should be used only if necessary. Add additional configuration to TSconfig.
- param array $config
-
the config
- fetchType ( array $value, string $type, string $key)
-
Base type fetching method, based on the type that softRefParserObj returns.
- param array $value
-
Reference properties
- param string $type
-
Current type
- param string $key
-
Validator hook name
- returntype
-
string
- Returns
-
string Fetched type
- getErrorParams ( )
-
Get the value of the private property errorParams.
- returntype
-
array
- Returns
-
array All parameters needed for the rendering of the error message