oxImex Class Reference

Inheritance diagram for oxImex:
[legend]
Collaboration diagram for oxImex:
[legend]

List of all members.


Detailed Description

Definition at line 6 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=null, $iToOrderNr=null)

Protected Member Functions

 _oxFGetCsv ($fp, $iMaxLen, $sSep)

Member Function Documentation

oxImex.export ( iStart,
iLines,
sFilepath 
)

Exports table contents to file, returns true on success.

Parameters:
integer $iStart Start writing export data from
integer $iLines Write number of lines
string $sFilepath Path to export file
Returns:
bool

Definition at line 17 of file oximex.php.

oxImex.exportUsers ( iStart,
iLines,
sFilepath 
)

Exports users table contents to file, returns true on success.

Parameters:
integer $iStart Start writing export data from
integer $iLines Write number of lines
string $sFilepath Path to export file
Returns:
bool

Definition at line 89 of file oximex.php.

oxImex.exportLexwareArticles ( iStart,
iLines,
sFilepath 
)

Performs Lexware export to file.

Parameters:
integer $iStart Start writing to file from line
integer $iLines Amount of lines to write
string $sFilepath Path to export file
Returns:
bool

Definition at line 187 of file oximex.php.

oxImex.interFormSimple ( nValue  ) 

Ensures, that the given data can be put in the csv

Parameters:
string $nValue given string
Returns:
string

Definition at line 298 of file oximex.php.

oxImex.interForm ( nValue,
oObj = null 
)

Replaces some special chars to HTML compatible codes, returns string with replaced chars.

Parameters:
string $nValue string to replace special chars
object $oObj object
Returns:
string

Definition at line 315 of file oximex.php.

oxImex.internPrice ( nPrice  ) 

Returns formatted price (grouped thousands, etc.).

Parameters:
float $nPrice Price to format
Returns:
string

Definition at line 404 of file oximex.php.

oxImex.import ( iStart,
iLines,
sFilepath 
)

Performs CSV format file reading and parsing, returns true on success.

Parameters:
integer $iStart Start reading from
integer $iLines Read number of lines
string $sFilepath Path to file
Returns:
bool

Definition at line 420 of file oximex.php.

oxImex.exportLexwareOrders ( iFromOrderNr = null,
iToOrderNr = null 
)

Returns XML compatible text for LexwareOrders export.

Parameters:
integer $iFromOrderNr Order from (default null)
integer $iToOrderNr Order number
Returns:
string

Definition at line 494 of file oximex.php.

oxImex._oxFGetCsv ( fp,
iMaxLen,
sSep 
) [protected]

CSV file parser. Returns an array of parsed values.

Parameters:
mixed $fp Resource to file
integer $iMaxLen Max file line length
string $sSep parameter/value separator
Returns:
array

Definition at line 695 of file oximex.php.


The documentation for this class was generated from the following file:

Generated on Thu Dec 4 12:05:27 2008 for OXID eShop CE by  doxygen 1.5.5