TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\Controller\PageLayoutController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\PageLayoutController:
SC_db_layout

Public Member Functions

 init ()
 
 menuConfig ()
 
 clearCache ()
 
 main ()
 
 printContent ()
 
 getNumberOfHiddenElements ()
 
 local_linkThisScript ($params)
 
 exec_languageQuery ($id)
 

Public Attributes

 $id
 
 $pointer
 
 $imagemode
 
 $search_field
 
 $search_levels
 
 $showLimit
 
 $returnUrl
 
 $clear_cache
 
 $popView
 
 $edit_record
 
 $new_unique_uid
 
 $perms_clause
 
 $modTSconfig
 
 $modSharedTSconfig
 
 $pageinfo
 
 $doc
 
 $backPath
 
 $descrTable
 
 $colPosList
 
 $EDIT_CONTENT
 
 $CALC_PERMS
 
 $current_sys_language
 
 $MCONF = array()
 
 $MOD_MENU = array()
 
 $MOD_SETTINGS = array()
 
 $include_once = array()
 
 $externalTables = array()
 
 $content
 
 $topFuncMenu
 
 $editIcon
 
 $activeColPosList
 

Protected Member Functions

 getHeaderFlashMessagesForCurrentPid ()
 
 getLocalizedPageTitle ()
 
 getButtons ($function='')
 

Detailed Description

Script Class for Web > Layout module

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 30 of file PageLayoutController.php.

Member Function Documentation

◆ clearCache()

TYPO3\CMS\Backend\Controller\PageLayoutController::clearCache ( )

Clears page cache for the current id, $this->id

Returns
void
Todo:
Define visibility

Definition at line 342 of file PageLayoutController.php.

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

◆ exec_languageQuery()

TYPO3\CMS\Backend\Controller\PageLayoutController::exec_languageQuery (   $id)

Returns a SQL query for selecting sys_language records.

Parameters
integer$idPage id: If zero, the query will select all sys_language records from root level which are NOT hidden. If set to another value, the query will select all sys_language records that has a pages_language_overlay record on that page (and is not hidden, unless you are admin user)
Returns
string Return query string.
Todo:
Define visibility

Definition at line 1218 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\menuConfig().

◆ getButtons()

◆ getHeaderFlashMessagesForCurrentPid()

◆ getLocalizedPageTitle()

TYPO3\CMS\Backend\Controller\PageLayoutController::getLocalizedPageTitle ( )
protected

◆ getNumberOfHiddenElements()

TYPO3\CMS\Backend\Controller\PageLayoutController::getNumberOfHiddenElements ( )

Returns the number of hidden elements (including those hidden by start/end times) on the current page (for the current sys_language)

Returns
int
Todo:
Define visibility

Definition at line 1189 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ init()

◆ local_linkThisScript()

TYPO3\CMS\Backend\Controller\PageLayoutController::local_linkThisScript (   $params)

Returns URL to the current script. In particular the "popView" and "new_unique_uid" Get vars are unset.

Parameters
array$paramsParameters array, merged with global GET vars.
Returns
string URL
Todo:
Define visibility

Definition at line 1205 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), and TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ main()

TYPO3\CMS\Backend\Controller\PageLayoutController::main ( )

Main function. Creates some general objects and calls other functions for the main rendering of module content.

Returns
void
Todo:
Define visibility

Definition at line 415 of file PageLayoutController.php.

References TYPO3\CMS\Backend\Controller\PageLayoutController\$activeColPosList, TYPO3\CMS\Backend\Controller\PageLayoutController\$CALC_PERMS, TYPO3\CMS\Backend\Controller\PageLayoutController\$colPosList, TYPO3\CMS\Backend\Controller\PageLayoutController\$content, TYPO3\CMS\Backend\Controller\PageLayoutController\$current_sys_language, TYPO3\CMS\Backend\Controller\PageLayoutController\$descrTable, TYPO3\CMS\Backend\Controller\PageLayoutController\$EDIT_CONTENT, TYPO3\CMS\Backend\Controller\PageLayoutController\$edit_record, TYPO3\CMS\Backend\Controller\PageLayoutController\$externalTables, $GLOBALS, TYPO3\CMS\Backend\Controller\PageLayoutController\$id, TYPO3\CMS\Backend\Controller\PageLayoutController\$imagemode, TYPO3\CMS\Backend\Controller\PageLayoutController\$new_unique_uid, TYPO3\CMS\Backend\Controller\PageLayoutController\$returnUrl, TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), TYPO3\CMS\Backend\Utility\BackendUtility\BEenableFields(), TYPO3\CMS\Backend\Utility\BackendUtility\BEgetRootLine(), TYPO3\CMS\Core\Utility\GeneralUtility\callUserFunction(), TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Core\Utility\GeneralUtility\createVersionNumberedFilename(), TYPO3\CMS\Backend\Utility\BackendUtility\cshItem(), TYPO3\CMS\Backend\Utility\BackendUtility\deleteClause(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\extRelPath(), TYPO3\CMS\Core\Utility\GeneralUtility\fixed_lgd_cs(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Backend\Controller\PageLayoutController\getButtons(), TYPO3\CMS\Backend\Utility\BackendUtility\getFuncCheck(), TYPO3\CMS\Backend\Utility\BackendUtility\getFuncMenu(), TYPO3\CMS\Backend\Controller\PageLayoutController\getHeaderFlashMessagesForCurrentPid(), TYPO3\CMS\Backend\Form\FormEngine\getHiddenTokenField(), TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), TYPO3\CMS\Backend\Utility\BackendUtility\getLabelFromItemlist(), TYPO3\CMS\Backend\Controller\PageLayoutController\getLocalizedPageTitle(), TYPO3\CMS\Backend\Controller\PageLayoutController\getNumberOfHiddenElements(), TYPO3\CMS\Backend\Utility\BackendUtility\getRecordsByField(), TYPO3\CMS\Backend\Utility\BackendUtility\getUrlToken(), TYPO3\CMS\Backend\Utility\BackendUtility\getWorkspaceVersionOfRecord(), TYPO3\CMS\Core\Utility\GeneralUtility\implodeArrayForUrl(), TYPO3\CMS\Core\Messaging\AbstractMessage\INFO, TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), TYPO3\CMS\Backend\Utility\BackendUtility\isRecordLocked(), TYPO3\CMS\Backend\Controller\PageLayoutController\local_linkThisScript(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue(), TYPO3\CMS\Core\Utility\HttpUtility\redirect(), TYPO3\CMS\Backend\Utility\BackendUtility\versioningPlaceholderClause(), TYPO3\CMS\Backend\Utility\BackendUtility\viewOnClick(), TYPO3\CMS\Core\Messaging\AbstractMessage\WARNING, TYPO3\CMS\Backend\Utility\BackendUtility\workspaceOL(), and TYPO3\CMS\Backend\Utility\BackendUtility\wrapInHelp().

◆ menuConfig()

◆ printContent()

TYPO3\CMS\Backend\Controller\PageLayoutController::printContent ( )

Print accumulated content of module

Returns
void
Todo:
Define visibility

Definition at line 1025 of file PageLayoutController.php.

References TYPO3\CMS\Backend\Controller\PageLayoutController\$content.

Member Data Documentation

◆ $activeColPosList

TYPO3\CMS\Backend\Controller\PageLayoutController::$activeColPosList

◆ $backPath

TYPO3\CMS\Backend\Controller\PageLayoutController::$backPath
Todo:
Define visibility

Definition at line 137 of file PageLayoutController.php.

◆ $CALC_PERMS

TYPO3\CMS\Backend\Controller\PageLayoutController::$CALC_PERMS
Todo:
Define visibility

Definition at line 161 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $clear_cache

TYPO3\CMS\Backend\Controller\PageLayoutController::$clear_cache
Todo:
Define visibility

Definition at line 79 of file PageLayoutController.php.

◆ $colPosList

TYPO3\CMS\Backend\Controller\PageLayoutController::$colPosList
Todo:
Define visibility

Definition at line 149 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $content

◆ $current_sys_language

TYPO3\CMS\Backend\Controller\PageLayoutController::$current_sys_language
Todo:
Define visibility

Definition at line 167 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $descrTable

TYPO3\CMS\Backend\Controller\PageLayoutController::$descrTable
Todo:
Define visibility

Definition at line 143 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $doc

TYPO3\CMS\Backend\Controller\PageLayoutController::$doc

Definition at line 131 of file PageLayoutController.php.

◆ $EDIT_CONTENT

TYPO3\CMS\Backend\Controller\PageLayoutController::$EDIT_CONTENT
Todo:
Define visibility

Definition at line 155 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $edit_record

TYPO3\CMS\Backend\Controller\PageLayoutController::$edit_record
Todo:
Define visibility

Definition at line 91 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $editIcon

TYPO3\CMS\Backend\Controller\PageLayoutController::$editIcon
Todo:
Define visibility

Definition at line 216 of file PageLayoutController.php.

◆ $externalTables

TYPO3\CMS\Backend\Controller\PageLayoutController::$externalTables = array()
Todo:
Define visibility

Definition at line 197 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $id

TYPO3\CMS\Backend\Controller\PageLayoutController::$id
Todo:
Define visibility

Definition at line 37 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $imagemode

TYPO3\CMS\Backend\Controller\PageLayoutController::$imagemode
Todo:
Define visibility

Definition at line 49 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $include_once

TYPO3\CMS\Backend\Controller\PageLayoutController::$include_once = array()
Todo:
Define visibility

Definition at line 191 of file PageLayoutController.php.

◆ $MCONF

TYPO3\CMS\Backend\Controller\PageLayoutController::$MCONF = array()
Todo:
Define visibility

Definition at line 173 of file PageLayoutController.php.

◆ $MOD_MENU

TYPO3\CMS\Backend\Controller\PageLayoutController::$MOD_MENU = array()
Todo:
Define visibility

Definition at line 179 of file PageLayoutController.php.

◆ $MOD_SETTINGS

TYPO3\CMS\Backend\Controller\PageLayoutController::$MOD_SETTINGS = array()
Todo:
Define visibility

Definition at line 185 of file PageLayoutController.php.

◆ $modSharedTSconfig

TYPO3\CMS\Backend\Controller\PageLayoutController::$modSharedTSconfig

Definition at line 117 of file PageLayoutController.php.

◆ $modTSconfig

TYPO3\CMS\Backend\Controller\PageLayoutController::$modTSconfig
Todo:
Define visibility

Definition at line 110 of file PageLayoutController.php.

◆ $new_unique_uid

TYPO3\CMS\Backend\Controller\PageLayoutController::$new_unique_uid
Todo:
Define visibility

Definition at line 97 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $pageinfo

TYPO3\CMS\Backend\Controller\PageLayoutController::$pageinfo
Todo:
Define visibility

Definition at line 123 of file PageLayoutController.php.

◆ $perms_clause

TYPO3\CMS\Backend\Controller\PageLayoutController::$perms_clause
Todo:
Define visibility

Definition at line 104 of file PageLayoutController.php.

◆ $pointer

TYPO3\CMS\Backend\Controller\PageLayoutController::$pointer
Todo:
Define visibility

Definition at line 43 of file PageLayoutController.php.

◆ $popView

TYPO3\CMS\Backend\Controller\PageLayoutController::$popView
Todo:
Define visibility

Definition at line 85 of file PageLayoutController.php.

◆ $returnUrl

TYPO3\CMS\Backend\Controller\PageLayoutController::$returnUrl
Todo:
Define visibility

Definition at line 73 of file PageLayoutController.php.

Referenced by TYPO3\CMS\Backend\Controller\PageLayoutController\main().

◆ $search_field

TYPO3\CMS\Backend\Controller\PageLayoutController::$search_field
Todo:
Define visibility

Definition at line 55 of file PageLayoutController.php.

◆ $search_levels

TYPO3\CMS\Backend\Controller\PageLayoutController::$search_levels
Todo:
Define visibility

Definition at line 61 of file PageLayoutController.php.

◆ $showLimit

TYPO3\CMS\Backend\Controller\PageLayoutController::$showLimit
Todo:
Define visibility

Definition at line 67 of file PageLayoutController.php.

◆ $topFuncMenu

TYPO3\CMS\Backend\Controller\PageLayoutController::$topFuncMenu
Todo:
Define visibility

Definition at line 210 of file PageLayoutController.php.