Init commit

This commit is contained in:
2026-04-06 14:15:32 +02:00
parent ce7e5a71b5
commit 874d85e1d8
45 changed files with 9652 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?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;
}
}