extends |
AttachmentManagerInterface |
|---|
Interface for building user interfaces.
User interfaces built by adding "blocks" using the addBlock() method. A block is essentially a piece of HTML code that can be inserted in a particular order.
In addition to blocks, attachments can also be added. Attachments can be things such as CSS style sheets, Javascript references or Javascript code. Each attachment is associated with a type.
| Methods | ||
|---|---|---|
public
|
addBlock(string $id, string $content, int $weight = 0, array<string, mixed> $additional = []): UIBuilderInterface
|
# |
public
|
merge(UIBuilderInterface $builder): UIBuilderInterface
|
# |
public
|
getBlocks(): array<array<mixed>>
|
# |
public
|
getBlockData(): array<array<mixed>>
|
# |
public
|
reset(): void
|
# |
| Methods inherited from SimpleID\Util\UI\AttachmentManagerInterface |
|---|
addAttachment(), getAttachments(), getAttachmentTypes(), getAttachmentsByType() |
| Constants inherited from SimpleID\Util\UI\AttachmentManagerInterface |
|---|
|