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

Public Member Functions

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

Static Public Member Functions

static BackendLayout create ($identifier, $title, $configuration)
 

Protected Attributes

string $identifier
 
string $title
 
string $description
 
string $iconPath
 
string $configuration
 
array $structure = array( )
 
array $data
 

Detailed Description

Class to represent a backend layout.

Definition at line 24 of file BackendLayout.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ create()

◆ getColumnPositionNumbers()

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

Definition at line 216 of file BackendLayout.php.

◆ getConfiguration()

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

◆ getData()

array TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getData ( )
Returns
‪array

Definition at line 193 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$data.

◆ getDescription()

string TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getDescription ( )
Returns
‪string

Definition at line 132 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$description.

◆ getIconPath()

string TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getIconPath ( )
Returns
‪string

Definition at line 148 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$iconPath.

◆ getIdentifier()

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

◆ getStructure()

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

◆ getTitle()

string TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::getTitle ( )
Returns
‪string

Definition at line 116 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$title.

◆ getUsedColumns()

array 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.

Returns
‪array

Definition at line 185 of file BackendLayout.php.

◆ setConfiguration()

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

◆ setData()

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

Definition at line 201 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$data.

◆ setDescription()

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

Definition at line 140 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$description.

◆ setIconPath()

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

Definition at line 156 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$iconPath.

◆ setIdentifier()

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

Definition at line 101 of file BackendLayout.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayout\$identifier.

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

◆ setStructure()

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

◆ setTitle()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout::setTitle (   $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 = array( )
protected

The structured data of the configuration represented as array.

Definition at line 50 of file BackendLayout.php.

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

◆ $title