LinkAnalyzerResult

The LinkAnalyzerResult can be manipulated by the event TYPO3\CMS\Linkvalidator\Event\ModifyValidatorTaskEmailEvent.

API

class TYPO3\CMS\Linkvalidator\Result\LinkAnalyzerResult

Used to work with LinkAnalyzer results

getResultForTask(int page, int depth, array pageRow, array modTSconfig, array searchFields = array (), array linkTypes = array (), string languages = '')

Call LinkAnalyzer with provided task configuration and process result values

Parameters
  • $page (int) -- the page

  • $depth (int) -- the depth

  • $pageRow (array) -- the pageRow

  • $modTSconfig (array) -- the modTSconfig

  • $searchFields (array) -- the searchFields, default: array ()

  • $linkTypes (array) -- the linkTypes, default: array ()

  • $languages (string) -- the languages, default: ''

Return type

self

Parameters
  • $brokenLinks (array) -- the brokenLinks

Return type

array

setNewBrokenLinkCounts(array newBrokenLinkCounts)
Parameters
  • $newBrokenLinkCounts (array) -- the newBrokenLinkCounts

getNewBrokenLinkCounts()
Return type

array

setOldBrokenLinkCounts(array oldBrokenLinkCounts)
Parameters
  • $oldBrokenLinkCounts (array) -- the oldBrokenLinkCounts

getOldBrokenLinkCounts()
Return type

array

getTotalBrokenLinksCount()
Return type

int

isDifferentToLastResult()
Return type

bool