Norecords
extends Component
in package
Table of Contents
- $message : string
- $type : string
- __construct() : void
- Create a new Norecords component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$message
public
string
$message
= 'Records not found'
$type
public
string
$type
= 'primary'
Methods
__construct()
Create a new Norecords component instance.
public
__construct([string $type = 'primary' ][, string $message = 'Records not found' ]) : void
Parameters
- $type : string = 'primary'
-
The type/color of the no records message (default: 'primary')
- $message : string = 'Records not found'
-
The message to display when no records found (default: 'Records not found')
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|string