ActionsRender
class ActionsRender extends Render
Traits
Properties
protected object | $row | from Render | |
protected mixed | $value | from Render | |
protected | $type | ||
protected array | $items | from UseActions | |
protected array | $defaultStyle | 默认样式 | from UseActions |
protected string | $style | 样式 | from UseActions |
protected int | $length | from UseActions | |
protected bool | $dropdownIcon | 下拉菜单使用 icon |
from UseActions |
Methods
Details
in
Render at line 31
__construct(mixed $value, object|array $row)
创建一个渲染实例
in
Render at line 41
array|object
getRow()
当前行的数据
in
Render at line 50
string
getType()
No description
at line 27
Jsonable
render($callback = null)
No description
in
UseActions at line 51
UseActions
add(array|Action $action)
Append an action.
in
UseActions at line 65
UseActions
styleIcon()
快捷ICON
in
UseActions at line 76
UseActions
default(array $style = [])
设置默认样式, 该样式需是可以调用的 Action 方法
in
UseActions at line 83
UseActions
styleDropdown($length = 5, $icon = false)
No description
in
UseActions at line 101
RequestAction
request(string $title, string $url)
返回请求
in
UseActions at line 117
PageAction
page(string $title, string $url, string $type)
返回页面
in
UseActions at line 132
ProgressAction
progress(string $title, string $url)
返回页面
in
UseActions at line 148
protected mixed
useDefaultStyle($action)
调用默认的样式
at line 18
ActionsRender
quickIcon()
No description