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>
|
||||
* $parser = new CSVParser('myfile.csv');
|
||||
* $parser->mapColumns(array(
|
||||
* 'first name' => 'FirstName'
|
||||
* 'first name' => 'FirstName',
|
||||
* 'lastname' => 'Surname',
|
||||
* 'last name' => 'Surname',
|
||||
* 'last name' => 'Surname'
|
||||
* ));
|
||||
* foreach($parser as $row) {
|
||||
* // $row is a map of column name => column value
|
||||
|
Loading…
Reference in New Issue
Block a user