Delete helpers/SortimentParser.php
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
class SortimentParser {
|
|
||||||
|
|
||||||
//
|
|
||||||
// $f = fileName
|
|
||||||
//
|
|
||||||
// Returns array of "sortiment" items.
|
|
||||||
//
|
|
||||||
// @retVal = array()
|
|
||||||
//
|
|
||||||
public function fromPlainTextFile($fp) {
|
|
||||||
$retVal = array();
|
|
||||||
//$fPath = "./data/sortiment.csv";
|
|
||||||
|
|
||||||
$f = fopen($fp,"r");
|
|
||||||
while($l = fgetcsv($f)) {
|
|
||||||
$retVal[] = $l;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $retVal;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user