Methods #
-
__construct
— Constructor Class constructor
-
_check_count
— Check if passed info might be delimiter Only used by find_delimiter
-
_check_data
— Check file data
-
_detect_and_remove_sep_row_from_data
— Support for Excel-compatible sep=? row.
-
_enclose_value
— Enclose values if needed - only used by unparse()
-
_get_delimiter_from_sep_row
— Detect separator using a nonstandard hack: such file starts with the first line containing only "sep=;", where the last character is the separator. Microsoft Excel is able to open such files.
-
_guess_delimiter
-
_parse_file
— Parse File Read file to string and call _parse_string()
-
_parse_string
— Internal function to parse CSV strings to arrays.
-
_rfile
— Read local file.
-
_validate_fields_for_unparse
-
_validate_offset
— Validates if the row is within the offset or not if sorting is disabled
-
_validate_row_condition
— Validate a row against a single condition
-
_validate_row_conditions
— Validate a row against specified conditions
-
_wfile
— Write to local file
-
auto
— Auto Auto-Detect Delimiter: Find delimiter by analyzing a specific number of rows to determine most probable delimiter character
-
encoding
— Encoding Convert character encoding
-
getCollection
— getCollection Returns a Illuminate/Collection object This may prove to be helpful to people who want to create macros, and or use map functions
-
getTotalDataRowCount
— Get total number of data rows (exclusive heading line if present) in CSV without parsing the whole data string.
-
init
-
load_data
— Load local file or string.
-
output
— Output Generate a CSV based string for output.
-
parse
— Parse Parse a CSV file or string
-
save
— Save Save changes, or write a new file and/or data
-
unparse
— Create CSV data string from array