Commit Graph

56 Commits

Author SHA1 Message Date
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
William Knauss
75038f9d2f auto readability 2014-02-06 18:27:54 -05:00
William Knauss
b72385395e condition spacing 2014-02-06 08:17:00 -05:00
William Knauss
eb3c9faa4a construct docblock spacing 2014-02-05 19:16:51 -05:00
William Knauss
2f142e7313 public encoding 2014-02-05 19:16:35 -05:00
William Knauss
05dbcaf652 encoding update 2014-02-05 19:14:00 -05:00
William Knauss
4639fa1701 Output documentation 2014-02-05 19:12:16 -05:00
William Knauss
8bb8e2d7cf output readability 2014-02-05 19:09:57 -05:00
William Knauss
c7e1f825a0 save documentation 2014-02-05 18:41:21 -05:00
William Knauss
0638049fb2 save readability 2014-02-05 18:38:55 -05:00
William Knauss
585a0d472e parse documentation 2014-02-05 18:37:23 -05:00
William Knauss
d6a070ce08 Change __constructor docblock stype 2014-02-05 18:33:44 -05:00
William Knauss
4454196b4c parse readability 2014-02-05 18:31:27 -05:00
William Knauss
6a6754ca04 __construct documentation 2014-02-05 18:29:01 -05:00
William Knauss
8dd2e52073 __construct readability 2014-02-05 18:25:13 -05:00
William Knauss
e16d818d07 cleaned up construct 2014-02-05 18:24:41 -05:00
William Knauss
9e6fdbb42a Updated project link 2014-02-05 18:22:20 -05:00
zynode
dfe298f4d0 Fixed a typo in the header comment regarding example code.
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@44 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-11-17 15:48:46 +00:00
zynode
fc22bee7ca parseCSV 0.4.3 beta
- Issue #4. Added an option for setting sorting
  type behavior when sorting data.
  Simply set $csv->sort_type to "regular", "numeric",
  or "string".

- Issue #6. Raw loaded file data is now cleared from
  file_data property when it has been successfully
  parsed to keep parseCSV's memory footprint to a
  minimum. Specifically handy when using mulitple
  instances of parseCSV to process large files.

git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@41 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-06-30 21:41:42 +00:00
zynode
9b64cb07c4 Fixed Issue #6 - Automatically clears $file_data property after successful parsing of input data. Set the $keep_file_data property to true to keep it around for debugging.
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@39 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-06-30 20:38:59 +00:00
zynode
2bfa3de220 Addressed Issue #4. Added option for sorting behavior type.
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@38 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-06-30 20:01:50 +00:00
zynode
0395362d66 parseCSV 0.4.2
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@34 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-05-31 17:59:21 +00:00
zynode
20a6a9d1b1 parseCSV 0.4.1 beta
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@31 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-05-30 12:20:39 +00:00
zynode
70366e3085 parseCSV 0.4 beta
- Error reporting for files/data which is corrupt
  or has formatting errors like using double
  quotes in a field without enclosing quotes. Or
  not escaping double quotes with a second one.

- parse() method does not require input anymore
  if the "$object->file" property has been set.

I'm calling this a beta release due to the heavy
modifications to the core parsing logic required
for error reporting to work. I have tested the
new code quite extensively, I'm fairly confident
that it still parses exactly as it always has.

The second reason I'm calling it a beta release
is cause I'm sure the error reporting code will
need more refinements and tweaks to detect more
types of errors, as it's only picking two types
or syntax errors right now. However, it seems
these two are the most common errors that you
would be likely to come across.

git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@28 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-04-11 18:13:37 +00:00
zynode
2dfd35b988 added error reporting/validation of parsed data, still needs some more testing before release tho...
git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@27 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-04-07 16:17:44 +00:00
zynode
ae00f949f0 parseCSV 0.3.2
This is primarily a bug-fix release for a critical
bug which was brought to my attention.

- Fixed a critical bug in conditions parsing which
  would generate corrupt matching patterns causing
  the condition(s) to not work at all in some
  situations.

- Fixed a small code error which would cause PHP to
  generate a invalid offset notice when zero length
  values were fed into the unparse() method to
  generate CSV data from an array.

git-svn-id: http://parsecsv-for-php.googlecode.com/svn/trunk@22 339761fc-0c37-0410-822d-8b8cac1f6a97
2008-03-31 22:50:36 +00:00