Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

VoucherSerie_Export Class Reference

Inheritance diagram for VoucherSerie_Export:
Collaboration diagram for VoucherSerie_Export:

List of all members.

Public Member Functions

 __construct ()
 getDownloadUrl ()
 download ()
 run ()
 exportVouchers ($iStart)
 write ($sLine)

Public Attributes

 $sClassDo = "voucherserie_export"
 $sExportFileType = "csv"
 $iExportPerTick = 1000

Protected Member Functions

 _getExportFileName ()
 _getExportFilePath ()

Protected Attributes

 $_sThisTemplate = "voucherserie_export.tpl"

Detailed Description

General export class.

Definition at line 6 of file voucherserie_export.php.


Constructor & Destructor Documentation

VoucherSerie_Export.__construct (  ) 

Calls parent costructor and initializes $this->_sFilePath parameter

Returns:
null

Reimplemented from DynExportBase.

Definition at line 40 of file voucherserie_export.php.


Member Function Documentation

VoucherSerie_Export._getExportFileName (  )  [protected]

Return export file name

Returns:
string

Definition at line 75 of file voucherserie_export.php.

VoucherSerie_Export._getExportFilePath (  )  [protected]

Return export file path

Returns:
string

Definition at line 90 of file voucherserie_export.php.

VoucherSerie_Export.download (  ) 

Performs Voucherserie export to export file.

Returns:
null

Definition at line 100 of file voucherserie_export.php.

VoucherSerie_Export.exportVouchers ( iStart  ) 

Writes voucher number information to export file and returns number of written records info

Parameters:
int $iStart start exporting from
Returns:
int

Definition at line 156 of file voucherserie_export.php.

VoucherSerie_Export.getDownloadUrl (  ) 

Returns export file download url

Returns:
string

Definition at line 56 of file voucherserie_export.php.

VoucherSerie_Export.run (  ) 

Does Export

Returns:
null

Reimplemented from DynExportBase.

Definition at line 120 of file voucherserie_export.php.

VoucherSerie_Export.write ( sLine  ) 

writes one line into open export file

Parameters:
string $sLine exported line
Returns:
null

Reimplemented from DynExportBase.

Definition at line 194 of file voucherserie_export.php.


Member Data Documentation

VoucherSerie_Export.$_sThisTemplate = "voucherserie_export.tpl" [protected]

Reimplemented from VoucherSerie_Main.

Definition at line 26 of file voucherserie_export.php.

VoucherSerie_Export.$iExportPerTick = 1000

Reimplemented from DynExportBase.

Definition at line 33 of file voucherserie_export.php.

VoucherSerie_Export.$sClassDo = "voucherserie_export"

Reimplemented from VoucherSerie_Main.

Definition at line 13 of file voucherserie_export.php.

VoucherSerie_Export.$sExportFileType = "csv"

Reimplemented from DynExportBase.

Definition at line 20 of file voucherserie_export.php.


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