Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Simple data access object for csv files in php5.by Kazuyoshi Tlacaelel. Some featuresCellsfillCell cell value filler getCell cell fetcher hasCell checks if a coordinate is valid HeaderscountHeaders header counter createHeaders header creator getHeaders header fetcher setHeaders header ... [More] injector ColumnsappendColumn column appender fillColumn collumn data injector getColumn column fetcher hasColumn column existance checker removeColumn column remover walkColumn column walker Must see__construct data load initialize connect header and row relationship builder getRawArray raw data as array isSymmetric data length/symmetry checker load csv file loader settings settings alterator symmetrize all rows length equalizer walkGrid grid walker RowsappendRow row appender countRows row counter fillRow fillRow getAsymmetricRows asymmetric data fetcher getRow row fetcher getRows multiple row fetcher hasRow row existance checker removeRow row remover walkRow row walker Comming sooncolumns (gets a range of columns) export (gets altered data as a csv string) url parsing grepColumn scans a column using a callback function grepRow scans a column using a callback function grepGrid scans the whole dataset using a callback function Using the package csv file name,age,skill john,13,knows magic tanaka,8,makes sushi jose,5,dances salsa php file load('my_cool.csv'); var_export($csv->connect()); ?> output array ( 0 => array ( 'name' => 'john', 'age' => '13', 'skill' => 'knows magic', ), 1 => array ( 'name' => 'tanaka', 'age' => '8', 'skill' => 'makes sushi', ), 2 => array ( 'name' => 'jose', 'age' => '5', 'skill' => 'dances salsa', ), ) Do not read this! Please DontReadThis for examples documentation information deprecations more... [Less]

0
 
  0 reviews  |  0 users  |  1,378 lines of code  |  0 current contributors  |  Analyzed about 8 hours ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.