Lines Matching refs:buffer
51 $buffer = fgets($handle, 4096);
53 if($buffer != "") {
55 self::importHeaderFromCSV($data, $buffer, $Delimiter, $DataColumns);
58 self::importChunkFromCSV($data, $buffer, $Delimiter, $DataColumns, $DataName);
65 static private function importHeaderFromCSV(pData $data, $buffer, $Delimiter, $DataColumns) {
66 $buffer = str_replace(chr(10), "", $buffer);
67 $buffer = str_replace(chr(13), "", $buffer);
68 $Values = explode($Delimiter, $buffer);
85 static private function importChunkFromCSV(pData $data, $buffer, $Delimiter, $DataColumns, $DataName) {
86 $buffer = str_replace(chr(10), "", $buffer);
87 $buffer = str_replace(chr(13), "", $buffer);
88 $Values = explode($Delimiter, $buffer);