Function newTable
This function creates a new table of data, most functions will only use it once. The core of this file, it creates a new, but empty, table of data in context, ready for filling using addData(). Fills the context variable current_table with the ID of the table created. Keeps track of the current table count using context variable table_count.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Reports.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Reports.php
string |
$title = '' |
Title to be displayed with this data table. |
string |
$default_value = '' |
Value to be displayed if a key is missing from a row. |
string |
$shading = 'all' |
Should the left, top or both (all) parts of the table beshaded? |
string |
$width_normal = 'auto' |
The width of an unshaded column (auto means not defined). |
string |
$align_normal = 'center' |
The alignment of data in an unshaded column. |
string |
$width_shaded = 'auto' |
The width of a shaded column (auto means not defined). |
string |
$align_shaded = 'auto' |
The alignment of data in a shaded column. |