\App\Admin\ActionsRoomAction

Summary

Methods
Properties
Constants
__construct()
title()
handle()
confirm()
html()
$name
No constants found
script()
authorize()
parameters()
$title
$model
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name

$title

$title

$model

$model

Methods

__construct()

__construct(string  $model = null) : mixed

Parameters

string $model

Returns

mixed —

title()

title() : string

返回字段标题

Returns

string —

handle()

handle(\Illuminate\Http\Request  $request) : \Dcat\Admin\Actions\Response

Handle the action request.

Parameters

\Illuminate\Http\Request $request

Returns

\Dcat\Admin\Actions\Response —

confirm()

confirm() : string|array|void

Returns

string|array|void —

html()

html() : mixed

Returns

mixed —

script()

script() : string

添加JS

Returns

string —

authorize()

authorize(\Illuminate\Database\Eloquent\Model|\Illuminate\Contracts\Auth\Authenticatable|\Dcat\Admin\Traits\HasPermissions|null  $user) : bool

Parameters

\Illuminate\Database\Eloquent\Model|\Illuminate\Contracts\Auth\Authenticatable|\Dcat\Admin\Traits\HasPermissions|null $user

Returns

bool —

parameters()

parameters() : array

Returns

array —