The constructor takes a path to CSV-file.
The constructor takes a two-dimensional array as the initiating table.
The constructor takes a path to future CSV-file and two-dimensional array as the initiating table.
The constructor takes an array of table column names and a two-dimensional array as the initiating table.
The methods adds new table row.
The two-dimensional array will be used as the content of the CSV table.
The two-dimensional array will be used as the content of the CSV table.
The method deletes table row by field (by its key and value).
The method returns rows of the table as associative arrays, where keys are names of the columns and values are content of the fields.
The method finds table row by field (by column name and value), returns associative array, where keys are names of columns and values are content of fields of this row.
The method returns content of the table of the CSV-object as two-dimensional array.
Finds the table field by another field in the same row (key1 and value) and column name (key2). Returns first match only.
The method writes table content to the initiating file.
The method sets new value (value2) by other field in the same row and column name.
The method writes table content to the specified file.
Structure for working with CSV-tables.