table_builder extends facade
Facade for local_middag\framework\application\widget\table_builder.
Tags
Table of Contents
Methods
- action() : table_builder
- build() : table_config
- column() : table_builder
- filter() : table_builder
- get_facade_accessor() : string
- Return the service accessor key for this facade.
- make() : table_builder
- with_options() : table_builder
Methods
action()
public
static action(string $key, string $label[, string $icon = = '\'\'' ][, array<string|int, mixed> $props = = '[]' ]) : table_builder
Parameters
- $key : string
- $label : string
- $icon : string = = '\'\''
- $props : array<string|int, mixed> = = '[]'
Return values
table_builderbuild()
public
static build() : table_config
Return values
table_configcolumn()
public
static column(string $key, string $label[, array<string|int, mixed> $settings = = '[]' ]) : table_builder
Parameters
- $key : string
- $label : string
- $settings : array<string|int, mixed> = = '[]'
Return values
table_builderfilter()
public
static filter(string $key, string $label[, string $type = = '\'select\'' ][, array<string|int, mixed> $options = = '[]' ]) : table_builder
Parameters
- $key : string
- $label : string
- $type : string = = '\'select\''
- $options : array<string|int, mixed> = = '[]'
Return values
table_builderget_facade_accessor()
Return the service accessor key for this facade.
public
static get_facade_accessor() : string
Return values
stringmake()
public
static make() : table_builder
Return values
table_builderwith_options()
public
static with_options(array<string|int, mixed> $options) : table_builder
Parameters
- $options : array<string|int, mixed>