Lines Matching defs:file
46 * @param string $file
49 public function __construct($table, $file, $type)
52 $this->openFile($file);
63 * Import the data from file.
75 * Open a given file path
79 * @param string $file the file path
83 protected function openFile($file)
85 $this->fh = fopen($file, 'rb');
87 throw new StructException('Failed to open CSV file for reading');
92 * Get a parsed line from the opened CSV file