Definition at line 5 of file oximex.php.
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="", $iToOrderNr="") | |
Protected Member Functions | |
_oxFGetCsv ($fp, $iMaxLen, $sSep) | |
_getCharset () | |
_convertStr ($sStr) |
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 |
Definition at line 18 of file oximex.php.
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 |
Definition at line 92 of file oximex.php.
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 |
Definition at line 181 of file oximex.php.
oxImex.interFormSimple | ( | $ | nValue | ) |
Ensures, that the given data can be put in the csv
string | $nValue given string |
Definition at line 291 of file oximex.php.
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 object |
Definition at line 308 of file oximex.php.
oxImex.internPrice | ( | $ | nPrice | ) |
Returns formatted price (grouped thousands, etc.).
float | $nPrice Price to format |
Definition at line 368 of file oximex.php.
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 |
Definition at line 386 of file oximex.php.
oxImex.exportLexwareOrders | ( | $ | iFromOrderNr = "" , |
|
$ | iToOrderNr = "" | |||
) |
Returns XML compatible text for LexwareOrders export.
Definition at line 460 of file oximex.php.
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 |
Definition at line 646 of file oximex.php.
oxImex._getCharset | ( | ) | [protected] |
oxImex._convertStr | ( | $ | sStr | ) | [protected] |
Converts string from 'ISO-8859-15' to defined charset
string | $sStr string to convert |
Definition at line 717 of file oximex.php.