Details
in package
FinalYes
Compose detail declarations and render one supplied record read-only.
Table of Contents
Methods
- build() : stdClass
- Build a detail model by delegating fields and cells to the list engine.
- render() : string
- Render one read-only detail: image preload links, the actions and the definition list.
- preloads() : string
Methods
build()
Build a detail model by delegating fields and cells to the list engine.
public
static build(mixed $spec, mixed $record, array<string|int, mixed> $options) : stdClass
Parameters
- $spec : mixed
- $record : mixed
- $options : array<string|int, mixed>
Return values
stdClassrender()
Render one read-only detail: image preload links, the actions and the definition list.
public
static render(mixed $spec, mixed $record, array<string|int, mixed> $options) : string
Parameters
- $spec : mixed
- $record : mixed
- $options : array<string|int, mixed>
Return values
stringpreloads()
private
static preloads(stdClass $model) : string
Parameters
- $model : stdClass