‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\View\BackendLayout\BackendLayout Class Reference

Public Member Functions

 __construct (string $identifier, string $title, string|array $configuration)
 
 getIdentifier ()
 
 setIdentifier (string $identifier)
 
 getTitle ()
 
 setTitle (string $title)
 
 getDescription ()
 
 setDescription (string $description)
 
 getIconPath ()
 
 setIconPath (string $iconPath)
 
 getConfiguration ()
 
 setConfiguration (string $configuration)
 
 getUsedColumns ()
 
 getColCount ()
 
 getRowCount ()
 
 getData ()
 
 setData (array $data)
 
 setStructure (array $structure)
 
 getStructure ()
 
string[] getColumnPositionNumbers ()
 

Static Public Member Functions

static create (string $identifier, string $title, string|array $configuration)
 

Protected Attributes

string $identifier
 
string $title
 
string $description = ''
 
string $iconPath = ''
 
string $configuration = ''
 
array $structure = []
 
array $data = []
 

Detailed Description

Class to represent a backend layout.

Definition at line 26 of file BackendLayout.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::__construct ( string  $identifier,
string  $title,
string|array  $configuration 
)

Member Function Documentation

◆ create()

◆ getColCount()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getColCount ( )

Definition at line 131 of file BackendLayout.php.

◆ getColumnPositionNumbers()

string [] TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getColumnPositionNumbers ( )
Returns
‪string[]

Definition at line 164 of file BackendLayout.php.

Referenced by TYPO3\CMS\Backend\View\Drawing\DrawingConfiguration\create().

◆ getConfiguration()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getConfiguration ( )

◆ getData()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getData ( )

◆ getDescription()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getDescription ( )

◆ getIconPath()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getIconPath ( )

◆ getIdentifier()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getIdentifier ( )

◆ getRowCount()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getRowCount ( )

Definition at line 136 of file BackendLayout.php.

◆ getStructure()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getStructure ( )

◆ getTitle()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getTitle ( )

◆ getUsedColumns()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getUsedColumns ( )

Returns the columns registered for this layout as $key => $value pair where the key is the colPos and the value is the title. "1" => "Left" etc. Please note that the title can contain LLL references ready for translation.

Definition at line 126 of file BackendLayout.php.

◆ setConfiguration()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setConfiguration ( string  $configuration)

◆ setData()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setData ( array  $data)

◆ setDescription()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setDescription ( string  $description)

◆ setIconPath()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setIconPath ( string  $iconPath)

◆ setIdentifier()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setIdentifier ( string  $identifier)

◆ setStructure()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setStructure ( array  $structure)

◆ setTitle()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setTitle ( string  $title)

Member Data Documentation

◆ $configuration

◆ $data

◆ $description

string TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::$description = ''
protected

◆ $iconPath

string TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::$iconPath = ''
protected

◆ $identifier

◆ $structure

array TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::$structure = []
protected

The structured data of the configuration represented as array.

Definition at line 37 of file BackendLayout.php.

Referenced by TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\getStructure(), and TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\setStructure().

◆ $title