TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection Class Reference

Public Member Functions

 __construct ($identifier)
 
 getIdentifier ()
 
 setIdentifier ($identifier)
 
 add (BackendLayout $backendLayout)
 
 get ($identifier)
 
 getAll ()
 

Protected Attributes

 $identifier
 
 $backendLayouts = []
 

Detailed Description

Collection of backend layouts.

Definition at line 20 of file BackendLayoutCollection.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ add()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::add ( BackendLayout  $backendLayout)

◆ get()

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

Gets a backend layout by (regular) identifier.

Parameters
string$identifier
Returns
NULL|BackendLayout

Definition at line 97 of file BackendLayoutCollection.php.

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

◆ getAll()

TYPO3\CMS\Backend\View\BackendLayout\BackendLayoutCollection::getAll ( )

Gets all backend layouts in this collection.

Returns
array|BackendLayout[]

Definition at line 113 of file BackendLayoutCollection.php.

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

◆ getIdentifier()

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

◆ setIdentifier()

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

Member Data Documentation

◆ $backendLayouts

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

◆ $identifier