ListArea
class ListArea extends ListBase
Traits
Macroable
Properties
$title | |||
protected Grid | $grid | from ListBase | |
protected Collection | $columns | Collection of all grid columns. |
from ListBase |
protected PamAccount | $pam | from ListBase |
Methods
mixed
actions()
No description
array
quickButtons()
定义右上角的快捷操作栏
$this|bool|Column
addRelationColumn(string $name, string $label = '')
Add a relation column to grid.
from
ListBase
addJsonColumn(string $name, string $label = '')
Add a json type column to grid.
from
ListBase
bool|Column
handleGetMutatorColumn(string $method, string $label)
Handle get mutator column for grid.
from
ListBase
bool|Column
handleRelationColumn(string $method, string $label)
Handle relation column for grid.
from
ListBase
mixed
columns()
No description
create()
创建
fix()
更新
edit($item)
编辑
delete($item)
删除
Details
in
ListBase at line 89
Column
__call(string $method, array $parameters)
Dynamically add columns to the grid view.
in
ListBase at line 115
Collection
getColumns()
No description
at line 28
Closure
filter()
添加搜索项
at line 43
mixed
actions()
No description
at line 59
array
quickButtons()
定义右上角的快捷操作栏
in
ListBase at line 136
array
batchAction()
批量操作
in
ListBase at line 149
protected $this|bool|Column
addRelationColumn(string $name, string $label = '')
Add a relation column to grid.
in
ListBase at line 175
protected Column
addJsonColumn(string $name, string $label = '')
Add a json type column to grid.
in
ListBase at line 192
protected Column
prependColumn(string $column = '', string $label = '')
Prepend column to grid.
in
ListBase at line 210
protected Column
addColumn(string $column = '', string $label = '')
Add column to grid.
in
ListBase at line 228
protected bool|Column
handleGetMutatorColumn(string $method, string $label)
Handle get mutator column for grid.
in
ListBase at line 245
protected bool|Column
handleRelationColumn(string $method, string $label)
Handle relation column for grid.
at line 21
mixed
columns()
No description
at line 71
BaseButton
create()
创建
at line 83
BaseButton
fix()
更新
at line 96
BaseButton
edit($item)
编辑
at line 109
BaseButton
delete($item)
删除