mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
CSVParser API doc fix
CSVParser API doc fix
This commit is contained in:
parent
fde8eab537
commit
ed1a16b6e2
@ -11,9 +11,9 @@
|
|||||||
* <code>
|
* <code>
|
||||||
* $parser = new CSVParser('myfile.csv');
|
* $parser = new CSVParser('myfile.csv');
|
||||||
* $parser->mapColumns(array(
|
* $parser->mapColumns(array(
|
||||||
* 'first name' => 'FirstName'
|
* 'first name' => 'FirstName',
|
||||||
* 'lastname' => 'Surname',
|
|
||||||
* 'lastname' => 'Surname',
|
* 'lastname' => 'Surname',
|
||||||
|
* 'last name' => 'Surname'
|
||||||
* ));
|
* ));
|
||||||
* foreach($parser as $row) {
|
* foreach($parser as $row) {
|
||||||
* // $row is a map of column name => column value
|
* // $row is a map of column name => column value
|
||||||
|
Loading…
Reference in New Issue
Block a user