Commit Graph

170 Commits

Author SHA1 Message Date
Christian Bläul
240fa0ce23 construct_test.php: only reformatted the code 2017-11-16 15:29:17 +01:00
Salem Ouerdani
1321c3b693 Should fix #99 (zeros breaking lines)
see https://github.com/parsecsv/parsecsv-for-php/issues/99
2017-11-03 21:35:58 +01:00
Christian Bläul
b9cf7cb0c1 Improved PHPDoc blocks
Added missing parameters, wrapped at 80 characters, added types.
2017-11-03 20:25:56 +01:00
Christian Bläul
4bae0d2bcf Re-added the code to grap object-level filename in output()
Follow-up on pull request #88: No breaking compatibality with
older parsecsv versions.

If no output to browser is desired, set $output_filename to null,
or use unparse() function.
2017-11-03 20:23:12 +01:00
Jan Piskvor Martinec
189746405f Do not force filename if not set explicitly
Per docblock, the function output() is supposed to output to browser
    only if filename is passed into it.
    If not, it should return the CSV as a string, not auto-set filename.
2017-11-03 11:30:55 -06:00
Fonata
2ae35c26ff Merge pull request #78 from lbajsarowicz/patch-1
Documentation: added example usage of fields variable
2017-11-03 11:13:47 -06:00
Fonata
2d1b7cebde Merge pull request #67 from BreyndotEchse/patch-1
Suppress file name too long warning
2017-11-02 15:09:33 -06:00
Lukasz Bajsarowicz
b33cc6c667 Example usage of field variable 2016-02-08 00:08:17 +01:00
Marvin Feldmann
fa5aea7631 Suppress file name too long warning
Suppress Warning: "File name is longer than the maximum allowed path length on this platform (4096)"
2015-09-14 17:15:10 +02:00
William Knauss
4f144f2662 Addresses #62 2015-07-11 13:15:34 -04:00
William Knauss
ba4c30add1 Addresses #51 2015-07-11 13:09:20 -04:00
a8b443d48c Merge pull request #57 from repat/patch-2
double array at save()
2015-05-05 11:33:53 +01:00
repat
9c6e0d64cf double array at save()
sic, see code example on line 68 https://github.com/parsecsv/parsecsv-for-php/blob/master/parsecsv.lib.php#L68
2015-05-05 10:42:12 +02:00
83ec2fbce7 Merge pull request #56 from repat/patch-1
typo
2015-05-04 20:52:36 +01:00
repat
e750fcfb07 typo 2015-05-04 18:57:32 +02:00
William Knauss
b7d1848363 Merge pull request #54 from williamknauss/53-flock-issue
Fixing flock issue
2015-03-25 22:23:31 -04:00
William Knauss
8bb51f8bab Fixing flock issue
Why not make life easier just use file put contents
2015-03-25 22:19:54 -04:00
William Knauss
22fcff2d24 Merge pull request #45 from helpse/patch-1
Added iconv() to output method
2014-12-03 12:41:03 -05:00
Sergio Melendez
5e8a5df988 Added iconv() to output method 2014-10-07 08:46:14 -05:00
813ef3849e Tweak indentation in Makefile to improved readability 2014-06-19 14:35:02 +01:00
d795ad0e05 Merge pull request #37 from commonquail/tabify-makefile
GNU Make requires tab-indentation
2014-06-19 14:33:01 +01:00
Mikkel Kjeldsen
ac4c4699cb GNU Make requires tab-indentation
GNU Make does not play nicely with leading spaces after rules. It
requires that the first line starts with a tab. Although it isn't
strictly necessary to change subsequent lines as well, mixing tabs and
spaces is a nightmare.
2014-06-19 14:36:50 +02:00
e0728a3941 Merge pull request #33 from williamknauss/code-cleanup2
Code cleanup2
2014-06-06 09:35:40 +01:00
William Knauss
2f3732e350 _wfile 2014-06-05 20:53:19 -04:00
William Knauss
01e71adf36 _rfile 2014-06-05 20:52:43 -04:00
William Knauss
0c4a804db1 _check_count 2014-06-05 20:52:23 -04:00
William Knauss
4366201dc0 _check_data 2014-06-05 20:51:26 -04:00
William Knauss
0422d5d9fe _enclose_value 2014-06-05 20:50:48 -04:00
William Knauss
6f4d150e6f _validate_offset 2014-06-05 20:50:08 -04:00
William Knauss
494087ab1d _validate_row_condition 2014-06-05 20:49:49 -04:00
William Knauss
ce19deec4e _validate_row_conditions 2014-06-05 20:48:11 -04:00
William Knauss
33825514d9 load_data 2014-06-05 20:46:29 -04:00
William Knauss
8af4d1e513 unparse 2014-06-05 20:45:28 -04:00
William Knauss
4d07760933 parse_string 2014-06-05 20:44:14 -04:00
William Knauss
710f22eeb9 parse_file 2014-06-05 20:40:00 -04:00
William Knauss
604872faad auto 2014-06-05 20:39:21 -04:00
William Knauss
8e19ecf94f encoding 2014-06-05 20:37:02 -04:00
William Knauss
31417caafd output 2014-06-05 20:36:32 -04:00
William Knauss
17e060ea33 save 2014-06-05 20:35:40 -04:00
William Knauss
936b6f4a50 parse 2014-06-05 20:34:08 -04:00
William Knauss
65061046bd __construct 2014-06-05 20:32:55 -04:00
William Knauss
4393781abc Merge pull request #8 from parsecsv/master
U2D
2014-06-05 20:29:02 -04:00
William Knauss
8bbd474e66 Merge pull request #32 from williamknauss/proper-access
Proper access
2014-06-05 20:22:09 -04:00
William Knauss
734b35abc5 made _validate_row_conditions protected 2014-06-05 20:18:17 -04:00
William Knauss
5cb602be2d made _validate_row_condition protected 2014-06-05 20:17:58 -04:00
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