class Operations implements Renderable

Traits

Properties

protected array $items from  UseItems

Methods

add(array|Renderable $action)

Append an action.

from  UseItems
iframe(string $title, string $url)

地址弹窗

loadView(string $title, string $url)

加载Tab

copy(string $title, $content)

复制

request(string $title, string $url)

请求

toolbar(string $title, string $url) deprecated

请求

batchRequest(string $title, string $url)

请求

batchIframe(string $title, string $url)

请求

page(string $title, string $url)

页面

dropdown(string $title, Closure $callable)

下拉操作项

string
render()

No description

void
create(string $url, string $title = '新建')

新建

void
edit(string $url, string $title = '编辑')

编辑

void
delete(string $url, string $confirm = '', string $title = '删除')

删除

void
setting(string $url, string $title = '设置')

设置

void
download(string $url, string $title = '下载', string $tooltip = '')

下载

void
toolbarDelete($url) deprecated

工具栏删除

void
batchDelete(string $url)

批量删除

void
progress(string $url)

批次更新

void
disable(string $url, string $title)

禁用

void
enable(string $url, string $title)

启用

array
items()

No description

Details

in UseItems at line 25
UseItems add(array|Renderable $action)

Append an action.

Parameters

array|Renderable $action

Return Value

UseItems

in UseInteraction at line 27
IframeOperation iframe(string $title, string $url)

地址弹窗

Parameters

string $title
string $url

Return Value

IframeOperation

in UseInteraction at line 42
LoadViewOperation loadView(string $title, string $url)

加载Tab

Parameters

string $title
string $url

Return Value

LoadViewOperation

in UseInteraction at line 57
CopyOperation copy(string $title, $content)

复制

Parameters

string $title
$content

Return Value

CopyOperation

in UseInteraction at line 71
RequestOperation request(string $title, string $url)

请求

Parameters

string $title
string $url

Return Value

RequestOperation

in UseInteraction at line 87
BatchRequestOperation toolbar(string $title, string $url) deprecated

deprecated

请求

Parameters

string $title
string $url

Return Value

BatchRequestOperation

See also

batchRequest

in UseInteraction at line 98
BatchRequestOperation batchRequest(string $title, string $url)

请求

Parameters

string $title
string $url

Return Value

BatchRequestOperation

in UseInteraction at line 112
BatchIframeOperation batchIframe(string $title, string $url)

请求

Parameters

string $title
string $url

Return Value

BatchIframeOperation

in UseInteraction at line 126
PageOperation page(string $title, string $url)

页面

Parameters

string $title
string $url

Return Value

PageOperation

in UseInteraction at line 140
DropdownOperation dropdown(string $title, Closure $callable)

下拉操作项

Parameters

string $title
Closure $callable

Return Value

DropdownOperation

at line 20
string render()

No description

Return Value

string

at line 39
void create(string $url, string $title = '新建')

新建

Parameters

string $url
string $title

Return Value

void

at line 51
void edit(string $url, string $title = '编辑')

编辑

Parameters

string $url
string $title

Return Value

void

at line 63
void delete(string $url, string $confirm = '', string $title = '删除')

删除

Parameters

string $url
string $confirm
string $title

Return Value

void

at line 74
void setting(string $url, string $title = '设置')

设置

Parameters

string $url
string $title

Return Value

void

at line 87
void download(string $url, string $title = '下载', string $tooltip = '')

下载

Parameters

string $url
string $title
string $tooltip

Return Value

void

at line 98
void toolbarDelete($url) deprecated

deprecated 4.2 使用单独的函数

工具栏删除

Parameters

$url

Return Value

void

at line 109
void batchDelete(string $url)

批量删除

Parameters

string $url

Return Value

void

at line 120
void progress(string $url)

批次更新

Parameters

string $url

Return Value

void

at line 131
void disable(string $url, string $title)

禁用

Parameters

string $url
string $title

Return Value

void

at line 143
void enable(string $url, string $title)

启用

Parameters

string $url
string $title

Return Value

void

at line 152
array items()

No description

Return Value

array