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

Public Member Functions

 __construct ($identifier)
 
string getIdentifier ()
 
 setIdentifier ($identifier)
 
 add (BackendLayout $backendLayout)
 
BackendLayout null get ($identifier)
 
array BackendLayout[] getAll ()
 

Protected Attributes

string $identifier
 
array BackendLayout[] $backendLayouts = array( )
 

Detailed Description

Collection of backend layouts.

Definition at line 21 of file BackendLayoutCollection.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::__construct (   $identifier)
Parameters
string$identifier

Definition at line 34 of file BackendLayoutCollection.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection\setIdentifier().

Member Function Documentation

◆ add()

◆ get()

BackendLayout null TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::get (   $identifier)

Gets a backend layout by (regular) identifier.

Parameters
string$identifier
Returns
‪BackendLayout|null

Definition at line 95 of file BackendLayoutCollection.php.

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

◆ getAll()

array BackendLayout [] TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::getAll ( )

Gets all backend layouts in this collection.

Returns
‪array|BackendLayout[]

Definition at line 111 of file BackendLayoutCollection.php.

References TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection\$backendLayouts.

◆ getIdentifier()

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

◆ setIdentifier()

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

Member Data Documentation

◆ $backendLayouts

array BackendLayout [] TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::$backendLayouts = array( )
protected

◆ $identifier