Login   Register  
PHP Classes
elePHPant
Icontem

Class: Bs_CsvUtil.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of blueshoes  >  Bs_CsvUtil.class.php  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Bs_CsvUtil.class.php
Base name: bs_csvutil
Description: comma separated values - read and write
Related classes: , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 1334 users
All time rank: 2400
Week users: 0 users
Week rank: 2770
Picture of blueshoes
Author: blueshoes <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: ???
Age: ???
All time rank: 1293
Week rank: 1634 Down


  Detailed description  
Features:
supports any separator char sequence, default is semicolon ";".
supports separator characters in the values. eg you use a ; as separator, your line may look like
blah;hello world;"foo";"foo;bar";"this is a ""string""";got it?;foo
as you can see, the values can be in "quotes". if your text uses quotes itself as in the "string"
example, they are escaped in ms-style with 2 quotes. and by using quotes we can even have your
separator inside the text (example "foo;bar").
line breaks. a csv line may spread over multiple lines using crlf in a field value.
see the checkMultiline param and the _checkMultiline() method.

 

  Groups  
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
Link Description
blueshoes BlueShoes PHP Application Framework
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
example live example
PHPDoc PHPDoc

  Files folder image Files  
File Role Description
Plain text file Bs_CsvUtil.class.php Class class file
Plain text file Bs_CsvUtil_PhpUnit.class.php Test php unit test, needs blueshoes installed

Download all files: bs_csvutil.tar.gz bs_csvutil.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.