ActionsRender deprecated
class ActionsRender extends GridActions
deprecated
Traits
Properties
protected object | $row | from Render | |
protected mixed | $value | from Render | |
protected string | $field | 字段名称 | from Render |
protected array | $items | from UseActions | |
protected array | $defaultStyle | 默认样式 | from UseActions |
protected bool | $dropdownIcon | 下拉菜单使用 icon |
from UseActions |
protected string | $style | 样式 | from UseInteraction |
protected int | $length | from UseInteraction |
Methods
Details
in
Render at line 32
__construct(mixed $value, object|array $row, $field)
创建一个渲染实例
in
Render at line 43
array|object
getRow()
当前行的数据
in
GridActions at line 21
Jsonable
render($callback = null)
No description
in
UseActions at line 38
UseActions
add(array|Action $action)
Append an action.
in
UseActions at line 55
UseActions
default(array $style = [])
设置默认样式, 该样式需是可以调用的 Action 方法
in
UseActions at line 61
UseActions
quickIcon()
No description
in
UseActions at line 73
TargetAction
target(string $title, string $url)
请求
in
UseActions at line 88
IframeAction
iframe(string $title, string $url)
请求
in
UseActions at line 102
protected mixed
useDefaultStyle($action)
调用默认的样式
in
UseInteraction at line 30
UseInteraction
styleDropdown(int $length = 5, bool $icon = false)
下拉样式
in
UseInteraction at line 48
RequestAction
request(string $title, string $url)
请求
in
UseInteraction at line 64
PageAction
page(string $title, string $url, string $type)
页面
in
UseInteraction at line 79
CopyAction
copy(string $title, string $content)
复制内容
in
UseInteraction at line 95
ProgressAction
progress(string $title, string $url)
进度