TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport Class Reference
Inheritance diagram for TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport:
TYPO3\CMS\Backend\Module\AbstractFunctionModule

Public Member Functions

 main ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 init (&$pObj, $conf)
 
 handleExternalFunctionValue ()
 
 incLocalLang ()
 
 checkExtObj ()
 
 extObjContent ()
 
 modMenu ()
 

Public Attributes

 $doc
 
- Public Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pObj
 
 $extObj = null
 
 $thisPath = ''
 
 $localLangFile = 'locallang.xlf'
 
 $extClassConf
 
 $function_key = ''
 

Protected Member Functions

 initialize ()
 
 updateBrokenLinks ()
 
 flush ($form=false)
 
 getLevelSelector ()
 
 renderBrokenLinksTable ()
 
 startTable ()
 
 renderTableRow ($table, array $row, $brokenLinksItemTemplate)
 
 getCheckOptions (array $brokenLinkOverView, $prefix='')
 
 getDocHeaderButtons ()
 
 getShortcutButton ()
 
 getTemplateMarkers ()
 
 getTemplateMarkersCheck ()
 
 isCurrentUserAdmin ()
 
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
 getDocumentTemplate ()
 
 getBackPath ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $pageRecord = []
 
 $isAccessibleForCurrentUser = false
 
 $searchLevel
 
 $linkAnalyzer
 
 $modTS = []
 
 $availableOptions = []
 
 $checkOpt = []
 
 $checkOptionsHtml
 
 $checkOptionsHtmlCheck
 
 $content
 
 $hookObjectsArr = []
 
 $updateListHtml = ''
 
 $refreshListHtml = ''
 
 $templateService
 
 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pageRenderer = null
 

Detailed Description

Module 'Linkvalidator' for the 'linkvalidator' extension

Definition at line 32 of file LinkValidatorReport.php.

Member Function Documentation

◆ flush()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::flush (   $form = false)
protected

◆ getBackendUser()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getBackendUser ( )
protected

◆ getCheckOptions()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getCheckOptions ( array  $brokenLinkOverView,
  $prefix = '' 
)
protected

Builds the checkboxes out of the hooks array

Parameters
array$brokenLinkOverViewArray of broken links information
string$prefix
Returns
string code content

Definition at line 574 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\main().

◆ getDatabaseConnection()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getDatabaseConnection ( )
protected

◆ getDocHeaderButtons()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getDocHeaderButtons ( )
protected

Gets the buttons that shall be rendered in the docHeader

Returns
array Available buttons for the docHeader

Definition at line 629 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\flush().

◆ getLanguageService()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getLanguageService ( )
protected

◆ getLevelSelector()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getLevelSelector ( )
protected

Builds the selector for the level of pages to search

Returns
string Html code of that selector

Definition at line 355 of file LinkValidatorReport.php.

References TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\$availableOptions, and TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\getLanguageService().

◆ getShortcutButton()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getShortcutButton ( )
protected

Gets the button to set a new shortcut in the backend (if current user is allowed to).

Returns
string HTML representation of the shortcut button

Definition at line 643 of file LinkValidatorReport.php.

◆ getTemplateMarkers()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getTemplateMarkers ( )
protected

Gets the filled markers that are used in the HTML template

Returns
array The filled marker array

Definition at line 657 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\flush().

◆ getTemplateMarkersCheck()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::getTemplateMarkersCheck ( )
protected

Gets the filled markers that are used in the HTML template

Returns
array The filled marker array

Definition at line 676 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\flush().

◆ initialize()

◆ isCurrentUserAdmin()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::isCurrentUserAdmin ( )
protected

Determines whether the current user is an admin

Returns
bool Whether the current user is admin

Definition at line 695 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\initialize().

◆ main()

◆ renderBrokenLinksTable()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::renderBrokenLinksTable ( )
protected

Displays the table of broken links or a note if there were no broken links

Returns
string Content of the table or of the note

Definition at line 378 of file LinkValidatorReport.php.

References TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\getDatabaseConnection(), and TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\startTable().

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\updateBrokenLinks().

◆ renderTableRow()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::renderTableRow (   $table,
array  $row,
  $brokenLinksItemTemplate 
)
protected

Displays one line of the broken links table

Parameters
string$tableName of database table
array$rowRecord row to be processed
array$brokenLinksItemTemplateMarkup of the template to be used
Returns
string HTML of the rendered row

Definition at line 493 of file LinkValidatorReport.php.

◆ startTable()

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::startTable ( )
protected

Displays the table header of the table with the broken links

Returns
string Code of content

Definition at line 464 of file LinkValidatorReport.php.

Referenced by TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport\renderBrokenLinksTable().

◆ updateBrokenLinks()

Member Data Documentation

◆ $availableOptions

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$availableOptions = []
protected

◆ $checkOpt

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$checkOpt = []
protected

Definition at line 87 of file LinkValidatorReport.php.

◆ $checkOptionsHtml

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$checkOptionsHtml
protected

Definition at line 95 of file LinkValidatorReport.php.

◆ $checkOptionsHtmlCheck

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$checkOptionsHtmlCheck
protected

Definition at line 103 of file LinkValidatorReport.php.

◆ $content

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$content
protected

Definition at line 110 of file LinkValidatorReport.php.

◆ $doc

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$doc

Definition at line 37 of file LinkValidatorReport.php.

◆ $hookObjectsArr

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$hookObjectsArr = []
protected

Definition at line 115 of file LinkValidatorReport.php.

◆ $iconFactory

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$iconFactory
protected

Definition at line 135 of file LinkValidatorReport.php.

◆ $isAccessibleForCurrentUser

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$isAccessibleForCurrentUser = false
protected

Definition at line 51 of file LinkValidatorReport.php.

◆ $linkAnalyzer

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$linkAnalyzer
protected

Definition at line 65 of file LinkValidatorReport.php.

◆ $modTS

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$modTS = []
protected

Definition at line 72 of file LinkValidatorReport.php.

◆ $pageRecord

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$pageRecord = []
protected

◆ $refreshListHtml

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$refreshListHtml = ''
protected

Definition at line 125 of file LinkValidatorReport.php.

◆ $searchLevel

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$searchLevel
protected

◆ $templateService

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$templateService
protected

Definition at line 130 of file LinkValidatorReport.php.

◆ $updateListHtml

TYPO3\CMS\Linkvalidator\Report\LinkValidatorReport::$updateListHtml = ''
protected

Definition at line 120 of file LinkValidatorReport.php.