Defaultx
extends Component
in package
Table of Contents
- $delete : bool
- $deleteClass : string
- $deleteIcon : string
- $deleteLabel : string
- $edit : bool
- $id : mixed
- $isDropdown : bool
- $routePrefix : string
- $show : bool
- __construct() : void
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$delete
public
bool
$delete
$deleteClass
public
string
$deleteClass
$deleteIcon
public
string
$deleteIcon
$deleteLabel
public
string
$deleteLabel
$edit
public
bool
$edit
$id
public
mixed
$id
$isDropdown
public
bool
$isDropdown
$routePrefix
public
string
$routePrefix
$show
public
bool
$show
Methods
__construct()
Create a new component instance.
public
__construct(string $routePrefix, mixed $id[, mixed $preId = null ][, bool $show = true ][, bool $edit = true ][, bool $delete = true ][, bool $isArchive = false ][, bool $isDropdown = false ]) : void
Parameters
- $routePrefix : string
- $id : mixed
- $preId : mixed = null
- $show : bool = true
- $edit : bool = true
- $delete : bool = true
- $isArchive : bool = false
- $isDropdown : bool = false
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|string