ContentAreaCollection implements ContainerInterface, IteratorAggregate
Read onlyYes
FinalYes
Collection of content areas
Tags
Table of Contents
Interfaces
- ContainerInterface
- IteratorAggregate
Methods
- __construct() : mixed
- get() : mixed
- getGroupedRecords() : array<string|int, mixed>
- getIterator() : Traversable<string, ContentArea>
- has() : bool
- withUpdatedRecords() : self
Methods
__construct()
public
__construct(array<string|int, mixed> $contentAreas) : mixed
Parameters
- $contentAreas : array<string|int, mixed>
get()
public
get(string $id) : mixed
Parameters
- $id : string
getGroupedRecords()
public
getGroupedRecords() : array<string|int, mixed>
Only for AfterContentHasBeenFetchedEvent
Return values
array<string|int, mixed>getIterator()
public
getIterator() : Traversable<string, ContentArea>
Return values
Traversable<string, ContentArea>has()
public
has(string $id) : bool
Parameters
- $id : string
Return values
boolwithUpdatedRecords()
public
withUpdatedRecords(array<string|int, mixed> $groupedRecords) : self
Parameters
- $groupedRecords : array<string|int, mixed>
Only for AfterContentHasBeenFetchedEvent