TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype Class Reference
Inheritance diagram for TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype:
TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface tx_linkvalidator_linktype_Abstract TYPO3\CMS\Linkvalidator\Linktype\ExternalLinktype TYPO3\CMS\Linkvalidator\Linktype\FileLinktype TYPO3\CMS\Linkvalidator\Linktype\InternalLinktype TYPO3\CMS\Linkvalidator\Linktype\LinkHandler tx_linkvalidator_linktype_External tx_linkvalidator_linktype_File tx_linkvalidator_linktype_Internal tx_linkvalidator_linktype_LinkHandler

Public Member Functions

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

Protected Member Functions

 setErrorParams ($value)
 

Protected Attributes

 $errorParams = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! This class provides Check Base plugin implementation

Author
Michael Miousse micha.nosp@m.el.m.nosp@m.iouss.nosp@m.e@in.nosp@m.foglo.nosp@m.be.c.nosp@m.a

Definition at line 22 of file AbstractLinktype.php.

Member Function Documentation

◆ fetchType()

TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype::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 TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface.

Definition at line 39 of file AbstractLinktype.php.

◆ getBrokenUrl()

TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype::getBrokenUrl (   $row)

Construct a valid Url for browser output

Parameters
array$rowBroken link record
Returns
string Parsed broken url

Implements TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface.

Definition at line 71 of file AbstractLinktype.php.

◆ getErrorParams()

TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype::getErrorParams ( )

Get the value of the private property errorParams

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

Implements TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface.

Definition at line 61 of file AbstractLinktype.php.

References TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype\$errorParams.

◆ setErrorParams()

TYPO3\CMS\Linkvalidator\Linktype\AbstractLinktype::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 TYPO3\CMS\Linkvalidator\Linktype\LinkHandler\checkLink(), and TYPO3\CMS\Linkvalidator\Linktype\InternalLinktype\checkLink().

Member Data Documentation

◆ $errorParams