

Public Member Functions | |
| export ($iStart, $iLines, $sFilepath) | |
| exportUsers ($iStart, $iLines, $sFilepath) | |
| exportLexwareArticles ($iStart, $iLines, $sFilepath) | |
| interFormSimple ($nValue) | |
| interForm ($nValue, $oObj=null) | |
| internPrice ($nPrice) | |
| import ($iStart, $iLines, $sFilepath) | |
| exportLexwareOrders ($iFromOrderNr=null, $iToOrderNr=null) | |
Protected Member Functions | |
| _oxFGetCsv ($fp, $iMaxLen, $sSep) | |
| oxImex.export | ( | $ | iStart, | |
| $ | iLines, | |||
| $ | sFilepath | |||
| ) |
Exports table contents to file, returns true on success.
| integer | $iStart Start writing export data from | |
| integer | $iLines Write number of lines | |
| string | $sFilepath Path to export file |
| oxImex.exportUsers | ( | $ | iStart, | |
| $ | iLines, | |||
| $ | sFilepath | |||
| ) |
Exports users table contents to file, returns true on success.
| integer | $iStart Start writing export data from | |
| integer | $iLines Write number of lines | |
| string | $sFilepath Path to export file |
| oxImex.exportLexwareArticles | ( | $ | iStart, | |
| $ | iLines, | |||
| $ | sFilepath | |||
| ) |
Performs Lexware export to file.
| integer | $iStart Start writing to file from line | |
| integer | $iLines Amount of lines to write | |
| string | $sFilepath Path to export file |
| oxImex.interFormSimple | ( | $ | nValue | ) |
Ensures, that the given data can be put in the csv
| string | $nValue given string |
| oxImex.interForm | ( | $ | nValue, | |
| $ | oObj = null | |||
| ) |
Replaces some special chars to HTML compatible codes, returns string with replaced chars.
| string | $nValue string to replace special chars | |
| object | $oObj |
| oxImex.internPrice | ( | $ | nPrice | ) |
Returns formatted price (grouped thousands, etc.).
| float | $nPrice Price to format |
| oxImex.import | ( | $ | iStart, | |
| $ | iLines, | |||
| $ | sFilepath | |||
| ) |
Performs CSV format file reading and parsing, returns true on success.
| integer | $iStart Start reading from | |
| integer | $iLines Read number of lines | |
| string | $sFilepath Path to file |
| oxImex.exportLexwareOrders | ( | $ | iFromOrderNr = null, |
|
| $ | iToOrderNr = null | |||
| ) |
Returns XML compatible text for LexwareOrders export.
| integer | $iFromOrderNr Order from (default null) |
| oxImex._oxFGetCsv | ( | $ | fp, | |
| $ | iMaxLen, | |||
| $ | sSep | |||
| ) | [protected] |
CSV file parser. Returns an array of parsed values.
| mixed | $fp Resource to file | |
| integer | $iMaxLen Max file line length | |
| string | $sSep parameter/value separator |
1.5.5