HTML tables: for tabular data presentation
Namespace: Sphp \ Html \ Tables
Table element represents tabular data —that is, information expressed via a
two-dimensional data table. [1]
The Table component
The structure of a Table object follows closely the specification of a HTML < table > .
The Caption class specifies the caption (or title) of a table
The Thead class defines a set of rows defining the head of the table.
The Tbody class groups one or more rows as the body of a table.
The Tfoot class defines a set of rows defining the foot of the table.
The Tr class defines a row of cells in a table. Those are implementaitions of Cell interface.
The Th class implements Cell as header of a group of table cells.
The Td class implements Cell as data container.
Cars: Name Model Year km price (€) Tesla Model X 2018 101000 62470 Audi e-tron 2021 15000 118900 Nissan Leaf 2016 53000 20400
TABLE FACTORIES: building and manipulation
A TableBuilder generates Table objects from
iterable data sources.
A LineNumberer is able to add linenumbers to a Table objects.
# Name Model Year km price (€) 1. Tesla Model X 2018 101000 62470 2. Audi e-tron 2021 15000 118900 3. Nissan Leaf 2016 53000 20400
CsvTablebuilder generates Table objects from CSV files.
# Date Exercise Category Weight Weight Unit Reps Distance Distance Unit Time Comment 9631. 2020-10-27 Cable Face Pull Shoulders 15.0 kgs 10 9632. 2020-10-27 Rope Push Down Triceps 15.0 kgs 10 9633. 2020-10-29 Basketball Cardio 0.0 m 1:30:00 9634. 2020-10-29 Cycling Cardio 7.0 km 0:27:00 9635. 2020-10-30 Cycling Cardio 5.6 km 0:26:00 9636. 2020-10-31 Barbell Press Shoulders 40.0 kgs 5 9637. 2020-10-31 Barbell Press Shoulders 40.0 kgs 5 9638. 2020-10-31 Cycling Cardio 11.5 km 0:40:00 9639. 2020-10-31 Hiking Cardio 1.9 km 1:00:00 9640. 2020-11-01 Pull Up Back 0.0 kgs 2
References External links