TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
ExternalLinktype Class Reference
Inheritance diagram for ExternalLinktype:
AbstractLinktype LinktypeInterface

Public Member Functions

 getErrorMessage ($errorParams)
 
 fetchType ($value, $type, $key)
 
- Public Member Functions inherited from AbstractLinktype
 fetchType ($value, $type, $key)
 
 getErrorParams ()
 
 getBrokenUrl ($row)
 
- Public Member Functions inherited from LinktypeInterface
 checkLink ($url, $softRefEntry, $reference)
 

Protected Attributes

 $urlReports = array()
 
 $urlErrorParams = array()
 
 $additionalHeaders = array()
 
- Protected Attributes inherited from AbstractLinktype
 $errorParams = array()
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractLinktype
 setErrorParams ($value)
 
 getLanguageService ()
 
 getDatabaseConnection ()
 

Detailed Description

This class provides Check External Links plugin implementation

Definition at line 23 of file ExternalLinktype.php.

Member Function Documentation

fetchType (   $value,
  $type,
  $key 
)

Get the external type from the softRefParserObj result

Parameters
array$valueReference properties
string$typeCurrent type
string$keyValidator hook name
Returns
string Fetched type

Implements LinktypeInterface.

Definition at line 162 of file ExternalLinktype.php.

getErrorMessage (   $errorParams)

Generate the localized error message from the error params saved from the parsing

Parameters
array$errorParamsAll parameters needed for the rendering of the error message
Returns
string Validation error message

Implements LinktypeInterface.

Definition at line 125 of file ExternalLinktype.php.

References AbstractLinktype\$errorParams, $lang, $response, and AbstractLinktype\getLanguageService().

Member Data Documentation

array $additionalHeaders = array()
protected

List of headers to be used for matching an URL for the current processing

Definition at line 44 of file ExternalLinktype.php.

array $urlErrorParams = array()
protected

Cached list of all error parameters of the URLs, which were already checked for the current processing

Definition at line 37 of file ExternalLinktype.php.

array $urlReports = array()
protected

Cached list of the URLs, which were already checked for the current processing

Definition at line 30 of file ExternalLinktype.php.