‪TYPO3CMS  10.4
TYPO3\CMS\Backend\Controller\PageLayoutController Class Reference

Public Member Functions

ResponseInterface mainAction (ServerRequestInterface $request)
 

Public Attributes

int $id
 
array bool $pageinfo
 
array $MOD_SETTINGS = array( )
 

Protected Member Functions

 menuConfig (ServerRequestInterface $request)
 
array initActions ()
 
 makeActionMenu (array $actions)
 
string getHeaderFlashMessagesForCurrentPid ()
 
string getPageLinksWhereContentIsAlsoShownOn ($pageId)
 
string getLocalizedPageTitle ()
 
 main (ServerRequestInterface $request)
 
string renderContent ()
 
 makeButtons (ServerRequestInterface $request)
 
int getNumberOfHiddenElements (array $languageColumns)
 
bool isPageEditable (int $languageId)
 
bool isContentEditable (int $languageId)
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 
 makeLanguageMenu ()
 
array getTargetPageIfVisible (array $targetPage)
 
string getSearchBox ()
 

Protected Attributes

array $modTSconfig = array( )
 
array $modSharedTSconfig = array( )
 
string $colPosList
 
int $current_sys_language
 
array $MOD_MENU = array( )
 
string $activeColPosList
 
IconFactory $iconFactory
 
string $moduleName = 'web_layout'
 
ModuleTemplate $moduleTemplate
 
ButtonBar $buttonBar
 
string $searchContent
 
SiteLanguage[] $availableLanguages
 
PageRenderer $pageRenderer
 
UriBuilder $uriBuilder
 
PageLayoutContext null $context
 

Detailed Description

Script Class for Web > Layout module

Definition at line 52 of file PageLayoutController.php.

Member Function Documentation

◆ getBackendUser()

◆ getHeaderFlashMessagesForCurrentPid()

string TYPO3\CMS\Backend\Controller\PageLayoutController::getHeaderFlashMessagesForCurrentPid ( )
protected

◆ getLanguageService()

◆ getLocalizedPageTitle()

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

◆ getNumberOfHiddenElements()

int TYPO3\CMS\Backend\Controller\PageLayoutController::getNumberOfHiddenElements ( array  $languageColumns)
protected

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

Parameters
array$languageColumns
Returns
‪int

Definition at line 864 of file PageLayoutController.php.

References $GLOBALS, and TYPO3\CMS\Backend\Controller\PageLayoutController\getBackendUser().

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

◆ getPageLinksWhereContentIsAlsoShownOn()

string TYPO3\CMS\Backend\Controller\PageLayoutController::getPageLinksWhereContentIsAlsoShownOn (   $pageId)
protected

Get all pages with links where the content of a page $pageId is also shown on

Parameters
int$pageId
Returns
‪string

Definition at line 461 of file PageLayoutController.php.

References TYPO3\CMS\Backend\Utility\BackendUtility\getRecordTitle().

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

◆ getSearchBox()

string TYPO3\CMS\Backend\Controller\PageLayoutController::getSearchBox ( )
protected

◆ getTargetPageIfVisible()

array TYPO3\CMS\Backend\Controller\PageLayoutController::getTargetPageIfVisible ( array  $targetPage)
protected

Returns the target page if visible

Parameters
array$targetPage
Returns
‪array

Definition at line 1040 of file PageLayoutController.php.

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

◆ initActions()

array TYPO3\CMS\Backend\Controller\PageLayoutController::initActions ( )
protected

◆ isContentEditable()

bool TYPO3\CMS\Backend\Controller\PageLayoutController::isContentEditable ( int  $languageId)
protected

◆ isPageEditable()

bool TYPO3\CMS\Backend\Controller\PageLayoutController::isPageEditable ( int  $languageId)
protected

◆ main()

◆ mainAction()

ResponseInterface TYPO3\CMS\Backend\Controller\PageLayoutController::mainAction ( ServerRequestInterface  $request)

◆ makeActionMenu()

TYPO3\CMS\Backend\Controller\PageLayoutController::makeActionMenu ( array  $actions)
protected

This creates the dropdown menu with the different actions this module is able to provide. For now they are Columns, Quick Edit and Languages.

Parameters
array$actions‪array with the available actions

Definition at line 294 of file PageLayoutController.php.

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

◆ makeButtons()

◆ makeLanguageMenu()

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

◆ menuConfig()

◆ renderContent()

Member Data Documentation

◆ $activeColPosList

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

List of column-integers accessible to the current BE user. Is set from TSconfig, default is $colPosList

Definition at line 110 of file PageLayoutController.php.

◆ $availableLanguages

SiteLanguage [] TYPO3\CMS\Backend\Controller\PageLayoutController::$availableLanguages
protected

Definition at line 136 of file PageLayoutController.php.

◆ $buttonBar

ButtonBar TYPO3\CMS\Backend\Controller\PageLayoutController::$buttonBar
protected

Definition at line 128 of file PageLayoutController.php.

◆ $colPosList

string TYPO3\CMS\Backend\Controller\PageLayoutController::$colPosList
protected

List of column-integers to edit. Is set from TSconfig, default is "1,0,2,3"

Definition at line 84 of file PageLayoutController.php.

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

◆ $context

PageLayoutContext null TYPO3\CMS\Backend\Controller\PageLayoutController::$context
protected

Definition at line 148 of file PageLayoutController.php.

◆ $current_sys_language

int TYPO3\CMS\Backend\Controller\PageLayoutController::$current_sys_language
protected

Currently selected language for editing content elements

Definition at line 90 of file PageLayoutController.php.

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

◆ $iconFactory

IconFactory TYPO3\CMS\Backend\Controller\PageLayoutController::$iconFactory
protected

Definition at line 114 of file PageLayoutController.php.

◆ $id

int TYPO3\CMS\Backend\Controller\PageLayoutController::$id

Page Id for which to make the listing

Definition at line 59 of file PageLayoutController.php.

◆ $MOD_MENU

array TYPO3\CMS\Backend\Controller\PageLayoutController::$MOD_MENU = array( )
protected

Menu configuration

Definition at line 96 of file PageLayoutController.php.

◆ $MOD_SETTINGS

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

Module settings (session variable)

Definition at line 103 of file PageLayoutController.php.

◆ $modSharedTSconfig

array TYPO3\CMS\Backend\Controller\PageLayoutController::$modSharedTSconfig = array( )
protected

Module shared TSconfig

Definition at line 71 of file PageLayoutController.php.

◆ $modTSconfig

array TYPO3\CMS\Backend\Controller\PageLayoutController::$modTSconfig = array( )
protected

Module TSconfig

Definition at line 65 of file PageLayoutController.php.

◆ $moduleName

string TYPO3\CMS\Backend\Controller\PageLayoutController::$moduleName = 'web_layout'
protected

The name of the module

Definition at line 120 of file PageLayoutController.php.

◆ $moduleTemplate

ModuleTemplate TYPO3\CMS\Backend\Controller\PageLayoutController::$moduleTemplate
protected

Definition at line 124 of file PageLayoutController.php.

◆ $pageinfo

array bool TYPO3\CMS\Backend\Controller\PageLayoutController::$pageinfo

Current ids page record

Definition at line 78 of file PageLayoutController.php.

◆ $pageRenderer

PageRenderer TYPO3\CMS\Backend\Controller\PageLayoutController::$pageRenderer
protected

Definition at line 140 of file PageLayoutController.php.

◆ $searchContent

string TYPO3\CMS\Backend\Controller\PageLayoutController::$searchContent
protected

◆ $uriBuilder

UriBuilder TYPO3\CMS\Backend\Controller\PageLayoutController::$uriBuilder
protected

Definition at line 144 of file PageLayoutController.php.