‪TYPO3CMS  10.4
TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController Class Reference

Public Member Functions

 init ($pObj)
 
string main ()
 

Protected Member Functions

array modMenu ()
 
array getOverviewOfPagesUsingTSConfig ()
 
 setInPageArray (&$hierarchicArray, $rootlineArray, $row)
 
array extractLinesFromTSConfig (array $row)
 
array getList ($pageArray, $lines=[], $pageDepth=0)
 
StandaloneView getFluidTemplateObject ()
 
BackendUserAuthentication getBackendUser ()
 
LanguageService getLanguageService ()
 

Protected Attributes

IconFactory $iconFactory
 
StandaloneView $view
 
InfoModuleController $pObj
 
 $id
 

Detailed Description

Page TSconfig viewer in Web -> Info

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 38 of file InfoPageTyposcriptConfigController.php.

Member Function Documentation

◆ extractLinesFromTSConfig()

array TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::extractLinesFromTSConfig ( array  $row)
protected

Extract the lines of TSConfig from a given pages row

Parameters
array$row‪The row from the database containing the uid and TSConfig fields
Returns
‪array

Definition at line 310 of file InfoPageTyposcriptConfigController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\setInPageArray().

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::getBackendUser ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 389 of file InfoPageTyposcriptConfigController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\modMenu().

◆ getFluidTemplateObject()

◆ getLanguageService()

LanguageService TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::getLanguageService ( )
protected

◆ getList()

array TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::getList (   $pageArray,
  $lines = [],
  $pageDepth = 0 
)
protected

Get the list of pages to show. This function is called recursively

Parameters
array$pageArray‪The Page Array
array$lines‪Lines that have been processed up to this point
int$pageDepth‪The level of the current $pageArray being processed
Returns
‪array

Definition at line 335 of file InfoPageTyposcriptConfigController.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordWSOL(), and TYPO3\CMS\Core\Imaging\Icon\SIZE_SMALL.

Referenced by TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\getOverviewOfPagesUsingTSConfig().

◆ getOverviewOfPagesUsingTSConfig()

array TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::getOverviewOfPagesUsingTSConfig ( )
protected

◆ init()

◆ main()

◆ modMenu()

array TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::modMenu ( )
protected

◆ setInPageArray()

TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::setInPageArray ( $hierarchicArray,
  $rootlineArray,
  $row 
)
protected

Set page in array This function is called recursively and builds a multi-dimensional array that reflects the page hierarchy.

Parameters
array$hierarchicArray‪The hierarchic array (passed by reference)
array$rootlineArray‪The rootline array
array$row‪The row from the database containing the uid and TSConfig fields

Definition at line 284 of file InfoPageTyposcriptConfigController.php.

References TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\extractLinesFromTSConfig().

Referenced by TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\getOverviewOfPagesUsingTSConfig().

Member Data Documentation

◆ $iconFactory

IconFactory TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::$iconFactory
protected

Definition at line 42 of file InfoPageTyposcriptConfigController.php.

◆ $id

TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::$id
protected

Definition at line 55 of file InfoPageTyposcriptConfigController.php.

◆ $pObj

InfoModuleController TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::$pObj
protected

Contains a reference to the parent calling object

Definition at line 50 of file InfoPageTyposcriptConfigController.php.

Referenced by TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController\init().

◆ $view

StandaloneView TYPO3\CMS\Info\Controller\InfoPageTyposcriptConfigController::$view
protected