CSVImport::__construct

Initialise a CSVImport instance.

Synopsis

uses('csv-import');

public function CSVImport::__construct(string [in] $filename)

Parameters

Name Direction Type Description
$filename in string The path to the CSV file to read. If $filename ends in .gz, the file will be assumed to be gzipped and decompressed automatically as it is read.