PageRenderTime 40ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/core/cli/CsvImporter.php

http://zoop.googlecode.com/
PHP | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | 065c3f0fdbe9eca50343ff45156f3c14 MD5 | raw file
 1<?php
 2class CsvImporter extends Importer
 3{
 4	var $separator;
 5	
 6	function __construct($separator = ',')
 7	{
 8		$this->importer();
 9		$this->separator = $separator;
10	}
11	
12	function readLine()
13	{
14		$array = fgetcsv($this->fp, 1000, $this->separator);
15		return $array;
16	}
17}