oxImex Class Reference

Inheritance diagram for oxImex:

Inheritance graph
[legend]
Collaboration diagram for oxImex:

Collaboration graph
[legend]

List of all members.


Detailed Description

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)

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
Deprecated:
Returns:
bool

Definition at line 18 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
Deprecated:
Returns:
bool

Definition at line 92 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 181 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 291 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 308 of file oximex.php.

oxImex.internPrice ( nPrice  ) 

Returns formatted price (grouped thousands, etc.).

Parameters:
float $nPrice Price to format
Returns:
string

Definition at line 368 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
Deprecated:
Returns:
bool

Definition at line 386 of file oximex.php.

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

Returns XML compatible text for LexwareOrders export.

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

Definition at line 460 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
Deprecated:
Returns:
array

Definition at line 646 of file oximex.php.

oxImex._getCharset (  )  [protected]

Get current charset

Returns:
string

Definition at line 705 of file oximex.php.

oxImex._convertStr ( sStr  )  [protected]

Converts string from 'ISO-8859-15' to defined charset

Parameters:
string $sStr string to convert
Returns:
string

Definition at line 717 of file oximex.php.


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

Generated on Tue Sep 29 16:49:12 2009 for OXID eShop CE by  doxygen 1.5.5