ContentAreaCollection

final readonly class \TYPO3\CMS\Core\Page\ContentAreaCollection

Implements
ContainerInterface, IteratorAggregate

Collection of content areas

Tags

implements

Table of Contents

Interfaces

ContainerInterface
IteratorAggregate

Methods

__construct()  : mixed
get()  : ContentArea
getGroupedRecords()  : array
getIterator()  : Traversable<string, ContentArea>
has()  : bool
withRequest()  : self
withUpdatedRecords()  : self

Methods

__construct()

public __construct(array $contentAreas[, ServerRequestInterface|null $request = null ]) : mixed

Parameters

$contentAreas : array
$request : ServerRequestInterface|null = null

getGroupedRecords()

public getGroupedRecords(ServerRequestInterface $request) : array

Parameters

$request : ServerRequestInterface

Return values

array

has()

public has(string $id) : bool

Parameters

$id : string

Return values

bool

withRequest()

public withRequest(ServerRequestInterface $request) : self

Parameters

$request : ServerRequestInterface

Return values

self

withUpdatedRecords()

public withUpdatedRecords(array $groupedRecords) : self

Parameters

$groupedRecords : array

Return values

self
On this page