TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
LinkValidatorReport Class Reference
Inheritance diagram for LinkValidatorReport:
AbstractFunctionModule

Public Member Functions

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

Public Attributes

 $doc
 
- Public Attributes inherited from 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 AbstractFunctionModule
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
 getDocumentTemplate ()
 
 getBackPath ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $pageRecord = array()
 
 $isAccessibleForCurrentUser = false
 
 $searchLevel
 
 $linkAnalyzer
 
 $modTS = array()
 
 $availableOptions = array()
 
 $checkOpt = array()
 
 $checkOptionsHtml
 
 $checkOptionsHtmlCheck
 
 $content
 
 $hookObjectsArr = array()
 
 $updateListHtml = ''
 
 $refreshListHtml = ''
 
 $templateService
 
 $iconFactory
 
- Protected Attributes inherited from AbstractFunctionModule
 $pageRenderer = null
 

Detailed Description

Module 'Linkvalidator' for the 'linkvalidator' extension

Definition at line 31 of file LinkValidatorReport.php.

Member Function Documentation

flush (   $form = false)
protected

Flushes the rendered content to the browser

Parameters
bool$form
Returns
string $content

Definition at line 336 of file LinkValidatorReport.php.

References LinkValidatorReport\getDocHeaderButtons(), LinkValidatorReport\getTemplateMarkers(), and LinkValidatorReport\getTemplateMarkersCheck().

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 693 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\initialize(), and LinkValidatorReport\main().

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 552 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\main().

getDatabaseConnection ( )
protected
Returns

Definition at line 701 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\renderBrokenLinksTable().

getDocHeaderButtons ( )
protected

Gets the buttons that shall be rendered in the docHeader

Returns
array Available buttons for the docHeader

Definition at line 607 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\flush().

getLanguageService ( )
protected

Returns LanguageService

Returns

Definition at line 683 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\getLevelSelector(), and LinkValidatorReport\main().

getLevelSelector ( )
protected

Builds the selector for the level of pages to search

Returns
string Html code of that selector

Definition at line 350 of file LinkValidatorReport.php.

References LinkValidatorReport\$availableOptions, and LinkValidatorReport\getLanguageService().

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 621 of file LinkValidatorReport.php.

getTemplateMarkers ( )
protected

Gets the filled markers that are used in the HTML template

Returns
array The filled marker array

Definition at line 635 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\flush().

getTemplateMarkersCheck ( )
protected

Gets the filled markers that are used in the HTML template

Returns
array The filled marker array

Definition at line 654 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\flush().

initialize ( )
protected
isCurrentUserAdmin ( )
protected

Determines whether the current user is an admin

Returns
bool Whether the current user is admin

Definition at line 673 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\initialize().

main ( )
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 373 of file LinkValidatorReport.php.

References LinkValidatorReport\getDatabaseConnection(), and LinkValidatorReport\startTable().

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 483 of file LinkValidatorReport.php.

startTable ( )
protected

Displays the table header of the table with the broken links

Returns
string Code of content

Definition at line 454 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\renderBrokenLinksTable().

updateBrokenLinks ( )
protected

Updates the table of stored broken links

Returns
void

Definition at line 272 of file LinkValidatorReport.php.

References GeneralUtility\_GP(), and GeneralUtility\trimExplode().

Referenced by LinkValidatorReport\main().

Member Data Documentation

$availableOptions = array()
protected

Definition at line 78 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\getLevelSelector().

$checkOpt = array()
protected

Definition at line 86 of file LinkValidatorReport.php.

$checkOptionsHtml
protected

Definition at line 94 of file LinkValidatorReport.php.

$checkOptionsHtmlCheck
protected

Definition at line 102 of file LinkValidatorReport.php.

$content
protected

Definition at line 109 of file LinkValidatorReport.php.

$doc

Definition at line 36 of file LinkValidatorReport.php.

$hookObjectsArr = array()
protected

Definition at line 114 of file LinkValidatorReport.php.

$iconFactory
protected

Definition at line 134 of file LinkValidatorReport.php.

$isAccessibleForCurrentUser = false
protected

Definition at line 50 of file LinkValidatorReport.php.

$linkAnalyzer
protected

Definition at line 64 of file LinkValidatorReport.php.

$modTS = array()
protected

Definition at line 71 of file LinkValidatorReport.php.

$pageRecord = array()
protected

Definition at line 43 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\main().

$refreshListHtml = ''
protected

Definition at line 124 of file LinkValidatorReport.php.

$searchLevel
protected

Definition at line 57 of file LinkValidatorReport.php.

Referenced by LinkValidatorReport\main().

$templateService
protected

Definition at line 129 of file LinkValidatorReport.php.

$updateListHtml = ''
protected

Definition at line 119 of file LinkValidatorReport.php.