ModalEdit
extends Component
in package
Table of Contents
- $fields : array<string|int, mixed>
- $id : string
- $record : Model
- $route : string
- $title : string
- __construct() : void
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$fields
public
array<string|int, mixed>
$fields
$id
public
string
$id
$record
public
Model
$record
$route
public
string
$route
$title
public
string
$title
Methods
__construct()
Create a new component instance.
public
__construct(string $title, array<string|int, mixed> $route, Model $record, array<string|int, mixed> $fields) : void
Parameters
- $title : string
- $route : array<string|int, mixed>
- $record : Model
- $fields : array<string|int, mixed>
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|string