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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

 $iconFactory
 
- Protected Attributes inherited from AbstractFunctionModule
 $pageRenderer = null
 

Additional Inherited Members

- Public Attributes inherited from 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 ( )

Member Function Documentation

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 291 of file InfoPageTyposcriptConfigController.php.

References GeneralUtility\trimExplode().

Referenced by InfoPageTyposcriptConfigController\setInPageArray().

getBackendUser ( )
protected

Returns the current BE user.

Returns

Definition at line 368 of file InfoPageTyposcriptConfigController.php.

References $GLOBALS.

Referenced by InfoPageTyposcriptConfigController\main(), and InfoPageTyposcriptConfigController\modMenu().

getLanguageService ( )
protected
getOverviewOfPagesUsingTSConfig ( )
protected
main ( )
modMenu ( )

Function menu initialization

Returns
array Menu array

Definition at line 47 of file InfoPageTyposcriptConfigController.php.

References $lang, InfoPageTyposcriptConfigController\getBackendUser(), and InfoPageTyposcriptConfigController\getLanguageService().

renderList (   $pageArray,
  $lines = array(),
  $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 316 of file InfoPageTyposcriptConfigController.php.

References MathUtility\canBeInterpretedAsInteger(), GeneralUtility\fixed_lgd_cs(), BackendUtility\getRecordWSOL(), GeneralUtility\linkThisScript(), and Icon\SIZE_SMALL.

Referenced by InfoPageTyposcriptConfigController\getOverviewOfPagesUsingTSConfig().

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 265 of file InfoPageTyposcriptConfigController.php.

References InfoPageTyposcriptConfigController\extractLinesFromTSConfig().

Referenced by InfoPageTyposcriptConfigController\getOverviewOfPagesUsingTSConfig().

Member Data Documentation

$iconFactory
protected

Definition at line 31 of file InfoPageTyposcriptConfigController.php.