class SimpleTableWidget implements Respable

Methods

__construct(array $headers = [], array $rows = [])

Table constructor.

setRows(array $rows = [])

设置数据表行

setTitle(string $title)

设置标题

resp()

Render the table.

Details

at line 30
__construct(array $headers = [], array $rows = [])

Table constructor.

Parameters

array $headers
array $rows

at line 40
setRows(array $rows = [])

设置数据表行

Parameters

array $rows

at line 56
SimpleTableWidget setTitle(string $title)

设置标题

Parameters

string $title

Return Value

SimpleTableWidget

at line 65
resp()

Render the table.