Commit Graph

131 Commits

Author SHA1 Message Date
William Knauss
b8920f99cb made _validate_offset protected 2014-06-05 20:17:29 -04:00
William Knauss
b8248af92e made _enclose_value protected 2014-06-05 20:17:08 -04:00
William Knauss
d1f25ee3df made _check_data protected 2014-06-05 20:16:45 -04:00
William Knauss
0d5ae35a34 made _check_count protected 2014-06-05 20:15:20 -04:00
William Knauss
e1c8cae852 made _rfile protected 2014-06-05 20:14:50 -04:00
William Knauss
844a1520f3 made _wfile proctected 2014-06-05 20:14:16 -04:00
William Knauss
1524618293 Fix for #27 2014-06-05 17:03:26 -04:00
William Knauss
32b50efe82 Merge branch 'master' of https://github.com/williamknauss/php-parsecsv into start-testing 2014-06-05 12:02:11 -04:00
William Knauss
7187bbd68f construct param 2014-06-05 11:56:50 -04:00
William Knauss
ee784f3180 Merge branch 'master' of https://github.com/williamknauss/php-parsecsv into start-testing 2014-06-05 11:44:10 -04:00
William Knauss
a6f8c708f9 1 2014-06-05 01:51:46 -04:00
cff692d976 Fix issue when CSV data does not end with a newline
If CSV data didn't end with "\n", "\r", or "\r\n" the last line of the
CSV would be ignored, as the parser wouldn't trigger end of row logic
for the last row.

This change forces the parser to process the end of the CSV data as it's
own character (false), and deals with end of data just like it treats
end of row.
2014-06-05 01:56:14 +01:00
Norcoen
0235c24b36 Pass delimiter from unparse function to _enclose_value function, revert
changes from previous approach
2014-06-03 15:52:36 +02:00
Norcoen
33b1a0d196 Fix local/global delimiter bug between output() and _enclose_value() by
setting global delimiter to local if not null
2014-06-03 15:02:49 +02:00
Norcoen
f3c70ad17c Fix local/global delimiter bug between output() and _enclose_value() by
setting global delimiter to local if not null
2014-06-03 15:01:04 +02:00
Norcoen
98a146bd38 Force enclosing of all columns with optional switch 2014-06-03 14:45:07 +02:00
William Knauss
90042a553c ugh 2014-06-02 20:35:20 -04:00
William Knauss
73d7acb493 fix conflicts 2014-06-02 20:34:08 -04:00
William Knauss
7b6692d7fd @norcoen caching request 2014-06-02 20:13:31 -04:00
William Knauss
01d25e0fdd Tabs to spaces 2014-06-02 20:09:20 -04:00
William Knauss
2d7f18ebc9 converted tabs to spaces 2014-05-17 12:47:45 -04:00
William Knauss
a3e3582222 Patch for #5 2014-05-14 10:26:32 -04:00
629b0c9fd5 Indent header comment start/end strings 2014-05-14 10:18:02 +01:00
698a570a11 Add license header 2014-05-14 10:12:45 +01:00
2aca09e05d Add URL to PHP class which inspired parseCSV's creation 2014-05-14 09:26:21 +01:00
a1564a9a99 Correct project URL, and update copyright 2014-05-14 09:19:42 +01:00
William Knauss
88ad81f061 removed end of php line
its not really needed
2014-05-13 21:26:06 -04:00
William Knauss
7e46cc193a line feed should only be \r 2014-05-13 21:23:53 -04:00
William Knauss
a274874084 documenation changes 2014-05-13 21:23:23 -04:00
William Knauss
dea1b453eb _validate_row_conditions readability 2014-05-13 21:21:58 -04:00
William Knauss
9a8bd77eb8 forgot access flag 2014-05-13 21:21:04 -04:00
William Knauss
89a2817765 _validate_row_condition readability 2014-05-13 21:19:44 -04:00
William Knauss
75d7d51a9c _validate_offset readability 2014-05-13 21:05:53 -04:00
William Knauss
9b6dbd9849 _enclose_value readability 2014-05-13 21:05:11 -04:00
William Knauss
61d1c27eac _check_data readability 2014-05-13 21:04:25 -04:00
William Knauss
ecbb0736f1 more changes 2014-05-13 18:56:26 -04:00
William Knauss
2ab7625bb5 _rfile readability 2014-05-13 18:24:31 -04:00
William Knauss
0f39cfa75a _wfile readability 2014-05-13 18:23:27 -04:00
William Knauss
0457fbfba2 removed back comments 2014-05-13 18:22:18 -04:00
William Knauss
af5d7cf70d load_data readability 2014-05-09 21:57:17 -04:00
William Knauss
531cc66a5e unparse readability 2014-05-09 21:55:54 -04:00
William Knauss
178699580e unparse readability 2014-05-09 21:55:36 -04:00
William Knauss
8c300568bb parse_string readability 2014-05-09 21:54:09 -04:00
William Knauss
28967dea20 extra space 2014-05-09 21:46:11 -04:00
William Knauss
46b42776e4 Properties documentation 2014-05-09 21:45:03 -04:00
William Knauss
8ba88c582d removed documentation whitespace 2014-05-09 21:31:22 -04:00
William Knauss
ba1d462044 updated properties to "public"
removed "var" and set to "public"
2014-05-09 21:30:47 -04:00
William Knauss
0323d5108b parse_file documentation 2014-02-06 18:31:34 -05:00
William Knauss
2988278f0b parse_file readability 2014-02-06 18:30:43 -05:00
William Knauss
9301b016c8 auto documentation 2014-02-06 18:30:11 -05:00