TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController Class Reference
Inheritance diagram for TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController:
TYPO3\CMS\Backend\Module\AbstractFunctionModule

Public Member Functions

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

Protected Member Functions

 getOverviewOfPagesUsingTSConfig ()
 
 setInPageArray (&$hierarchicArray, $rootlineArray, $row)
 
 extractLinesFromTSConfig (array $row)
 
 renderList ($pageArray, $lines=[], $pageDepth=0)
 
 getLanguageService ()
 
 getBackendUser ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
 getDocumentTemplate ()
 
 getBackPath ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $iconFactory
 
- Protected Attributes inherited from TYPO3\CMS\Backend\Module\AbstractFunctionModule
 $pageRenderer = null
 

Additional Inherited Members

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

Detailed Description

Page TSconfig viewer

Definition at line 26 of file InfoPageTyposcriptConfigController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::__construct ( )

Member Function Documentation

◆ extractLinesFromTSConfig()

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

Extract the lines of TSConfig from a given pages row

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

Definition at line 290 of file InfoPageTyposcriptConfigController.php.

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

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

◆ getBackendUser()

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::getBackendUser ( )
protected

◆ getLanguageService()

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::getLanguageService ( )
protected

◆ getOverviewOfPagesUsingTSConfig()

◆ main()

◆ modMenu()

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::modMenu ( )

◆ renderList()

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::renderList (   $pageArray,
  $lines = [],
  $pageDepth = 0 
)
protected

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

Parameters
array$pageArrayThe Page Array
array$linesLines that have been processed up to this point
int$pageDepthThe level of the current $pageArray being processed
Returns
array

Definition at line 315 of file InfoPageTyposcriptConfigController.php.

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

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

◆ setInPageArray()

TYPO3\CMS\InfoPagetsconfig\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$hierarchicArrayThe hierarchic array (passed by reference)
array$rootlineArrayThe rootline array
array$rowThe row from the database containing the uid and TSConfig fields
Returns
void

Definition at line 264 of file InfoPageTyposcriptConfigController.php.

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

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

Member Data Documentation

◆ $iconFactory

TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::$iconFactory
protected

Definition at line 31 of file InfoPageTyposcriptConfigController.php.