Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jan 16, 2014
1 parent 61cf552 commit bb3d71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Just like for the `Bakame\Csv\Codec` class you can optionally set the CSV delimi

If you still need to get access to the original `SplFileObject`, the `Bakame\Csv\Reader` lets you access it using the `Bakame\Csv\Reader::getFile` method.

### Displaying the CSV
### Displaying the data

* The `Bakame\Csv\Reader::__toString` method returns the CSV content as it is written in the file.
* The `Bakame\Csv\Reader::output` method returns to the output buffer the CSV content. This method can be use if you want the CSV to be downloaded by your user.
Expand Down Expand Up @@ -196,7 +196,7 @@ $data = $csv->fetchCol(2);

**The methods listed above (`fetchAll`, `fetchAssoc`, `fetchCol`) can all take a optional `callable` argument to further manipulate each row before being returned.**

### Filtering the CSV data
### Filtering the data

In order to filter the CSV data you can modify the `fetch*` methods output by specifying filtering options using the following methods:

Expand Down

0 comments on commit bb3d71e

Please sign in to comment.