Changeset 20791
- Timestamp:
- 08/05/09 00:08:52 (4 years ago)
- Files:
-
- plugins/tmCsvPlugin/lib/tmDoctrineWriter.class.php (modified) (1 diff)
- plugins/tmCsvPlugin/package.xml (modified) (4 diffs)
- plugins/tmCsvPlugin/test/unit/write01Test.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/tmCsvPlugin/lib/tmDoctrineWriter.class.php
r20788 r20791 1 1 <?php 2 2 3 /** 4 * @todo Support different encodings 5 * 6 */ 3 7 class tmDoctrineWriter 4 8 { plugins/tmCsvPlugin/package.xml
r20729 r20791 14 14 <time>21:00:00</time> 15 15 <version> 16 <release>0.0. 2</release>17 <api>0.0. 2</api>16 <release>0.0.3</release> 17 <api>0.0.3</api> 18 18 </version> 19 19 <stability> … … 34 34 <file name="test/unit/encodingTest.php" role="data"/> 35 35 <file name="test/unit/readCsvTest.php" role="data"/> 36 <file name="test/unit/write01Test.php" role="data"/> 37 <file name="lib/tmCsvException.class.php" role="data"/> 38 <file name="lib/tmCsvWriter.class.php" role="data"/> 39 <file name="lib/tmDoctrineWriter.class.php" role="data"/> 36 40 <file name="lib/tmDoctrineReader.class.php" role="data"/> 37 41 <file name="lib/tmCsvReader.class.php" role="data"/> … … 82 86 </version> 83 87 <stability> 84 <release> beta</release>85 <api> beta</api>88 <release>alpha</release> 89 <api>alpha</api> 86 90 </stability> 87 91 <date>2009-08-03</date> … … 92 96 </notes> 93 97 </release> 98 <release> 99 <version> 100 <release>0.0.3</release> 101 <api>0.0.3</api> 102 </version> 103 <stability> 104 <release>alpha</release> 105 <api>alpha</api> 106 </stability> 107 <date>2009-08-04</date> 108 <license uri="http://www.gnu.org/licenses/lgpl.txt">LGPL</license> 109 <notes> 110 * Added CSV writer, including Doctrine support 111 </notes> 112 </release> 94 113 </changelog> 95 114 </package> plugins/tmCsvPlugin/test/unit/write01Test.php
r20788 r20791 12 12 $writer->add(array('three'=>333)); 13 13 $writer->add(array('two'=>'2', 'one'=>'1', 'three'=>'3')); 14 $writer->stream();15 14 $out = file_get_contents($tmp); 16 15 $expected = 'one,two,three