¡@

Home 

php Programming Glossary: idataset

PHP: Searching through a CSV file the OOP way

http://stackoverflow.com/questions/13249018/php-searching-through-a-csv-file-the-oop-way

nice but still adequate approach would be interface IDataSet public function getRowCount public function getValueAt row column.. be used in your situation class InMemoryDataSet implements IDataSet private _data array public function __construct array data this.. some code that converts your input data to some kind of IDataSet function CSVToDataSet file return new InMemoryDataSet array_map..