final class RequestAction extends Action

请求操作

Properties

protected bool $disabled 禁用 from  Action
protected bool $plain 朴素模式 from  Action
protected bool $circle 圆形 from  Action
protected string $type 按钮的类型 from  Action
protected string $size 大小 from  Action
protected string $icon icon from  Action
protected bool $only

是否只显示 ICON

from  Action
protected bool $confirm 是否进行请求前确认 from  Action
protected string $method 请求方法 from  Action

Methods

__construct($title, $url)

创建 Action

from  Action
icon(string $icon)

设置 ICON 图标

from  Action
confirm(string $text = '')

确认

from  Action
__call($method, $args)

No description

from  Action
struct()

Action 渲染

self
primary()

主要按钮

from  Action
self
default()

默认样式

from  Action
self
success()

成功

from  Action
self
info()

信息

from  Action
self
warning()

警告

from  Action
self
danger()

危险

from  Action
self
disabled()

禁用

from  Action
self
plain()

朴素模式

from  Action
self
circle()

原型模式

from  Action
self
only()

仅仅显示图标

from  Action

Details

in Action at line 99
__construct($title, $url)

创建 Action

Parameters

$title
$url

in Action at line 110
Action icon(string $icon)

设置 ICON 图标

Parameters

string $icon

ICON 图标

Return Value

Action

in Action at line 121
Action confirm(string $text = '')

确认

Parameters

string $text

Return Value

Action

in Action at line 131
__call($method, $args)

No description

Parameters

$method
$args

at line 15
struct()

Action 渲染

in Action at line 20
self primary()

主要按钮

Return Value

self

in Action at line 20
self default()

默认样式

Return Value

self

in Action at line 20
self success()

成功

Return Value

self

in Action at line 20
self info()

信息

Return Value

self

in Action at line 20
self warning()

警告

Return Value

self

in Action at line 20
self danger()

危险

Return Value

self

in Action at line 20
self disabled()

禁用

Return Value

self

in Action at line 20
self plain()

朴素模式

Return Value

self

in Action at line 20
self circle()

原型模式

Return Value

self

in Action at line 20
self only()

仅仅显示图标

Return Value

self