MIDDAG for Moodle

table_builder extends facade

Facade for local_middag\framework\application\widget\table_builder.

Tags
see
table_builder
mixin

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_builder

build()

public static build() : table_config
Return values
table_config

column()

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_builder

filter()

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_builder

get_facade_accessor()

Return the service accessor key for this facade.

public static get_facade_accessor() : string
Return values
string

        
On this page

Search results