Login   Register  
PHP Classes
elePHPant
Icontem

Class: CSV Iterator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sam Shull  >  CSV Iterator  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSV Iterator
Base name: csviterator
Description: Manipulate data in CSV files as if they are arrays
Related classes: , , , , , , ,
Version: 0.5
PHP version: 5.0
License: MIT/X Consortium License
All time users: 769 users
All time rank: 3546
Week users: 1 user
Week rank: 2503
Picture of Sam Shull
Author: Sam Shull is available for providing paid consulting. Contact Sam Shull .
Packages: 9 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 35
All time rank: 40744 in United States United States
Week rank: 537 Down61 in United States United States Down
Innovation award
Innovation award
Nominee: 8x


  Detailed description  
This class can be used to manipulate data in CSV files as if they are arrays.

It can parse and write CSV files when a class object is accessed with array manipulation functions.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
July 2009
Number 6
Often applications need to retrieve or update data in files that can be used by spreadsheet like applications. CSV is a common format that can be used for exchanging simple spreadsheet information.

PHP has built-in functions to read and write data from CSV files, but this class provides a simpler solution to read or writing CSV files.

It provides an interface that lets you handle CSV data rows and columns as arrays, so you can use regular PHP array syntax and functions to access CSV data.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Sufficient (66.7%)
-
Sufficient (66.7%)
-
-
Not sure (50.8%)
1440
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file CSVIterator.php Class The class file
Accessible without login Plain text file CSVIterator_test.php Example An example usage
Plain text file streamfunctions.php Aux. A series of support functions

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