BackendLayoutCollection
Collection of backend layouts.
Table of Contents
Properties
- $backendLayouts : array<string|int, mixed>|array<string|int, BackendLayout>
- $identifier : string
Methods
- __construct() : mixed
- add() : mixed
- Adds a backend layout to this collection.
- get() : BackendLayout|null
- Gets a backend layout by (regular) identifier.
- getAll() : array<string|int, mixed>|array<string|int, BackendLayout>
- Gets all backend layouts in this collection.
- getIdentifier() : string
- setIdentifier() : mixed
Properties
$backendLayouts
protected
array<string|int, mixed>|array<string|int, BackendLayout>
$backendLayouts
= []
$identifier
protected
string
$identifier
Methods
__construct()
public
__construct(string $identifier) : mixed
Parameters
- $identifier : string
add()
Adds a backend layout to this collection.
public
add(BackendLayout $backendLayout) : mixed
Parameters
- $backendLayout : BackendLayout
Tags
get()
Gets a backend layout by (regular) identifier.
public
get(string $identifier) : BackendLayout|null
Parameters
- $identifier : string
Return values
BackendLayout|nullgetAll()
Gets all backend layouts in this collection.
public
getAll() : array<string|int, mixed>|array<string|int, BackendLayout>
Return values
array<string|int, mixed>|array<string|int, BackendLayout>getIdentifier()
public
getIdentifier() : string
Return values
stringsetIdentifier()
public
setIdentifier(string $identifier) : mixed
Parameters
- $identifier : string