TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Backend\View\BackendLayoutView Class Reference
Inheritance diagram for TYPO3\CMS\Backend\View\BackendLayoutView:
TYPO3\CMS\Core\SingletonInterface tx_cms_BackendLayout

Public Member Functions

 __construct ()
 
 setDataProviderCollection (BackendLayout\DataProviderCollection $dataProviderCollection)
 
 getDataProviderCollection ()
 
 addBackendLayoutItems (array $parameters)
 
 getSelectedCombinedIdentifier ($pageId)
 
 colPosListItemProcFunc (array $parameters)
 

Static Public Member Functions

static getDefaultColumnLayout ()
 

Protected Member Functions

 determinePageId ($tableName, array $data)
 
 getIdentifiersToBeExcluded (array $pageTSconfig)
 
 addColPosListLayoutItems ($pageId, $items)
 
 getPage ($pageId)
 
 getRootLine ($pageId)
 
 createDataProviderContext ()
 
 getDatabaseConnection ()
 
 getLanguageService ()
 

Protected Attributes

 $dataProviderCollection
 
 $selectedCombinedIdentifier = array()
 
 $selectedBackendLayout = array()
 

Detailed Description

Backend layout for CMS

Author
GridView Team

Definition at line 26 of file BackendLayoutView.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\BackendLayoutView::__construct ( )

Member Function Documentation

◆ addBackendLayoutItems()

TYPO3\CMS\Backend\View\BackendLayoutView::addBackendLayoutItems ( array  $parameters)

Gets backend layout items to be shown in the forms engine. This method is called as "itemsProcFunc" with the accordant context for pages.backend_layout and pages.backend_layout_next_level.

Parameters
array$parameters

Definition at line 97 of file BackendLayoutView.php.

References TYPO3\CMS\Backend\View\BackendLayoutView\createDataProviderContext(), TYPO3\CMS\Backend\View\BackendLayoutView\determinePageId(), TYPO3\CMS\Backend\View\BackendLayoutView\getDataProviderCollection(), TYPO3\CMS\Backend\View\BackendLayoutView\getIdentifiersToBeExcluded(), TYPO3\CMS\Backend\View\BackendLayoutView\getLanguageService(), and TYPO3\CMS\Backend\Utility\BackendUtility\getPagesTSconfig().

◆ addColPosListLayoutItems()

◆ colPosListItemProcFunc()

TYPO3\CMS\Backend\View\BackendLayoutView::colPosListItemProcFunc ( array  $parameters)

Gets colPos items to be shown in the forms engine. This method is called as "itemsProcFunc" with the accordant context for tt_content.colPos.

Parameters
array$parameters
Returns
void

Definition at line 230 of file BackendLayoutView.php.

References TYPO3\CMS\Backend\View\BackendLayoutView\addColPosListLayoutItems(), and TYPO3\CMS\Backend\View\BackendLayoutView\determinePageId().

◆ createDataProviderContext()

TYPO3\CMS\Backend\View\BackendLayoutView::createDataProviderContext ( )
protected

◆ determinePageId()

TYPO3\CMS\Backend\View\BackendLayoutView::determinePageId (   $tableName,
array  $data 
)
protected

Determines the page id for a given record of a database table.

Parameters
string$tableName
array$data
Returns
NULL|integer

Definition at line 139 of file BackendLayoutView.php.

References TYPO3\CMS\Backend\View\BackendLayoutView\getDatabaseConnection().

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\addBackendLayoutItems(), and TYPO3\CMS\Backend\View\BackendLayoutView\colPosListItemProcFunc().

◆ getDatabaseConnection()

TYPO3\CMS\Backend\View\BackendLayoutView::getDatabaseConnection ( )
protected

◆ getDataProviderCollection()

◆ getDefaultColumnLayout()

static TYPO3\CMS\Backend\View\BackendLayoutView::getDefaultColumnLayout ( )
static

Get default columns layout

Returns
string Default four column layout

Definition at line 345 of file BackendLayoutView.php.

Referenced by TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider\createDefaultBackendLayout().

◆ getIdentifiersToBeExcluded()

TYPO3\CMS\Backend\View\BackendLayoutView::getIdentifiersToBeExcluded ( array  $pageTSconfig)
protected

◆ getLanguageService()

TYPO3\CMS\Backend\View\BackendLayoutView::getLanguageService ( )
protected

◆ getPage()

TYPO3\CMS\Backend\View\BackendLayoutView::getPage (   $pageId)
protected

◆ getRootLine()

TYPO3\CMS\Backend\View\BackendLayoutView::getRootLine (   $pageId)
protected

Gets the page root-line.

Parameters
integer$pageId
Returns
array

Definition at line 398 of file BackendLayoutView.php.

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

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\getSelectedCombinedIdentifier().

◆ getSelectedCombinedIdentifier()

TYPO3\CMS\Backend\View\BackendLayoutView::getSelectedCombinedIdentifier (   $pageId)

Returns the backend layout which should be used for this page.

Parameters
integer$pageId
Returns
boolean|string Identifier of the backend layout to be used, or FALSE if none

Definition at line 170 of file BackendLayoutView.php.

References TYPO3\CMS\Backend\View\BackendLayoutView\getPage(), and TYPO3\CMS\Backend\View\BackendLayoutView\getRootLine().

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\addColPosListLayoutItems().

◆ setDataProviderCollection()

TYPO3\CMS\Backend\View\BackendLayoutView::setDataProviderCollection ( BackendLayout\DataProviderCollection  $dataProviderCollection)
Parameters
BackendLayout\DataProviderCollection$dataProviderCollection

Definition at line 79 of file BackendLayoutView.php.

References TYPO3\CMS\Backend\View\BackendLayoutView\$dataProviderCollection.

Referenced by TYPO3\CMS\Backend\View\BackendLayoutView\__construct().

Member Data Documentation

◆ $dataProviderCollection

◆ $selectedBackendLayout

TYPO3\CMS\Backend\View\BackendLayoutView::$selectedBackendLayout = array()
protected

Definition at line 41 of file BackendLayoutView.php.

◆ $selectedCombinedIdentifier

TYPO3\CMS\Backend\View\BackendLayoutView::$selectedCombinedIdentifier = array()
protected