CardList
extends Component
in package
Table of Contents
- $delete : bool
- $edit : bool
- $records : mixed
- $routePrefix : string
- $show : bool
- $size : string
- $subtitle : string|null
- $title : string
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$delete
public
bool
$delete
$edit
public
bool
$edit
$records
public
mixed
$records
$routePrefix
public
string
$routePrefix
$show
public
bool
$show
$size
public
string
$size
= 'is-3'
$subtitle
public
string|null
$subtitle
= null
$title
public
string
$title
Methods
__construct()
Create a new component instance.
public
__construct( $records, string $route, string $title[, bool $show = true ][, bool $edit = true ][, bool $delete = true ][, string $subtitle = null ][, string $size = 'is-3' ]) : mixed
Parameters
- $records :
- $route : string
- $title : string
- $show : bool = true
- $edit : bool = true
- $delete : bool = true
- $subtitle : string = null
- $size : string = 'is-3'
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string