Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
doImport ( &$sql_data = [] ) : void | Handles the whole import logic | |
readCsvTerminatedString ( string $buffer, string $ch, integer $i, integer $csv_terminated_len ) : string | Read the expected column_separated_with String of length $csv_terminated_len from the $buffer into variable $ch and return the read string $ch |
Method | Description | |
---|---|---|
setProperties ( ) : void | Sets the import plugin properties. |
Method | Description | |
---|---|---|
_getAnalyze ( ) : boolean | Returns true if the table should be analyzed, false otherwise | |
_setAnalyze ( boolean $analyze ) : void | Sets to true if the table should be analyzed, false otherwise |
public readCsvTerminatedString ( string $buffer, string $ch, integer $i, integer $csv_terminated_len ) : string | ||
$buffer | string | The original string buffer read from csv file |
$ch | string | Partially read "column Separated with" string, also used to return after reading length equal $csv_terminated_len |
$i | integer | Current read counter of buffer string |
$csv_terminated_len | integer | The length of "column separated with" String |
return | string |
protected setProperties ( ) : void | ||
return | void |