CSMonitorTable
in package
Implementation of a special table type for the monitoring reports
Tags
Table of Contents
- addData() : mixed
- Adds a row to the table
- getHtml() : string
- Get the table HTML string
- makeHtml() : string
- get the table HTML view
- setSubTitle() : mixed
- Set sub title
- setTableHeaders() : mixed
- Sets the Table headers of the Table
- setTitle() : mixed
- Set title
Methods
addData()
Adds a row to the table
public
addData(array<string|int, string> $values, string $onClick) : mixed
Parameters
- $values : array<string|int, string>
-
one value for each cell
- $onClick : string
-
one onclick for the whole row
Tags
Return values
mixed —getHtml()
Get the table HTML string
public
getHtml() : string
Tags
Return values
string —makeHtml()
get the table HTML view
public
makeHtml() : string
Tags
Return values
string —setSubTitle()
Set sub title
public
setSubTitle(string $subTitle) : mixed
Parameters
- $subTitle : string
Tags
Return values
mixed —setTableHeaders()
Sets the Table headers of the Table
public
setTableHeaders(array<string|int, string> $headers) : mixed
Parameters
- $headers : array<string|int, string>
Tags
Return values
mixed —setTitle()
Set title
public
setTitle(string $title) : mixed
Parameters
- $title : string
