TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractLinktype Class Reference
Inheritance diagram for AbstractLinktype:
LinktypeInterface ExternalLinktype FileLinktype InternalLinktype LinkHandler

Public Member Functions

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

Protected Member Functions

 setErrorParams ($value)
 
 getLanguageService ()
 

Protected Attributes

 $errorParams = []
 

Detailed Description

This class provides Check Base plugin implementation

Definition at line 21 of file AbstractLinktype.php.

Member Function Documentation

fetchType (   $value,
  $type,
  $key 
)

Base type fetching method, based on the type that softRefParserObj returns

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

Implements LinktypeInterface.

Definition at line 38 of file AbstractLinktype.php.

getBrokenUrl (   $row)

Construct a valid Url for browser output

Parameters
array$rowBroken link record
Returns
string Parsed broken url

Implements LinktypeInterface.

Definition at line 73 of file AbstractLinktype.php.

getErrorParams ( )

Get the value of the private property errorParams

Returns
array All parameters needed for the rendering of the error message

Implements LinktypeInterface.

Definition at line 62 of file AbstractLinktype.php.

References AbstractLinktype\$errorParams.

setErrorParams (   $value)
protected

Set the value of the protected property errorParams

Parameters
array$valueAll parameters needed for the rendering of the error message
Returns
void

Definition at line 52 of file AbstractLinktype.php.

Referenced by LinkHandler\checkLink(), and InternalLinktype\checkLink().

Member Data Documentation