TYPO3 CMS  TYPO3_6-2
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 = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Collection of backend layouts.

Author
Oliver Hader olive.nosp@m.r.ha.nosp@m.der@t.nosp@m.ypo3.nosp@m..org

Definition at line 22 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 95 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 110 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 = array()
protected

◆ $identifier