dolibarr  7.0.0-beta
Public Member Functions | Static Public Member Functions | List of all members
AccountancyExport Class Reference

Class AccountancyExport. More...

+ Collaboration diagram for AccountancyExport:

Public Member Functions

 __construct (DoliDB &$db)
 Constructor. More...
 
 export (&$TData)
 Function who chose which export to use with the default config. More...
 
 exportNormal ($objectLines)
 Export format : Normal. More...
 
 exportCegid ($objectLines)
 Export format : CEGID. More...
 
 exportCogilog ($objectLines)
 Export format : COGILOG. More...
 
 exportCoala ($objectLines)
 Export format : COALA. More...
 
 exportBob50 ($objectLines)
 Export format : BOB50. More...
 
 exportCiel (&$TData)
 Export format : CIEL. More...
 
 exportQuadratus (&$TData)
 Export format : Quadratus. More...
 
 exportEbp ($objectLines)
 Export format : EBP. More...
 
 exportAgiris ($objectLines)
 Export format : Agiris Isacompta. More...
 
 exportConfigurable ($objectLines)
 Export format : Configurable. More...
 

Static Public Member Functions

static getType ()
 Array with all export type available (key + label) More...
 
static getTypeConfig ()
 Array with all export type available (key + label) and parameters for config. More...
 
static downloadFile ()
 Download the export. More...
 
static trunc ($str, $size)
 

Detailed Description

Class AccountancyExport.

Manage the different format accountancy export

Definition at line 42 of file accountancyexport.class.php.

Constructor & Destructor Documentation

AccountancyExport::__construct ( DoliDB $db)

Constructor.

Parameters
DoliDb$dbDatabase handler

Definition at line 81 of file accountancyexport.class.php.

Member Function Documentation

static AccountancyExport::downloadFile ( )
static

Download the export.

Returns
void

Definition at line 178 of file accountancyexport.class.php.

AccountancyExport::export ( $TData)

Function who chose which export to use with the default config.

Parameters
unknown$TDatadata

Definition at line 189 of file accountancyexport.class.php.

References exportAgiris(), exportBob50(), exportCegid(), exportCiel(), exportCoala(), exportCogilog(), exportConfigurable(), exportEbp(), exportNormal(), and exportQuadratus().

AccountancyExport::exportAgiris (   $objectLines)

Export format : Agiris Isacompta.

Parameters
array$objectLinesdata
Returns
void

Definition at line 540 of file accountancyexport.class.php.

References dol_print_date(), length_accounta(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportBob50 (   $objectLines)

Export format : BOB50.

Parameters
array$objectLinesdata
Returns
void

Definition at line 347 of file accountancyexport.class.php.

References dol_print_date(), dol_trunc(), length_accounta(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportCegid (   $objectLines)

Export format : CEGID.

Parameters
array$objectLinesdata
Returns
void

Definition at line 262 of file accountancyexport.class.php.

References dol_print_date(), length_accounta(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportCiel ( $TData)

Export format : CIEL.

Parameters
array$TDatadata
Returns
void

Definition at line 385 of file accountancyexport.class.php.

References dol_now(), dol_print_date(), dol_string_unaccent(), and print.

Referenced by export().

AccountancyExport::exportCoala (   $objectLines)

Export format : COALA.

Parameters
array$objectLinesdata
Returns
void

Definition at line 320 of file accountancyexport.class.php.

References dol_print_date(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportCogilog (   $objectLines)

Export format : COGILOG.

Parameters
array$objectLinesdata
Returns
void

Definition at line 287 of file accountancyexport.class.php.

References dol_print_date(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportConfigurable (   $objectLines)

Export format : Configurable.

Parameters
array$objectLinesdata
Returns
void

Definition at line 577 of file accountancyexport.class.php.

References dol_print_date(), length_accounta(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportEbp (   $objectLines)

Export format : EBP.

Parameters
array$objectLinesdata
Returns
void

Definition at line 508 of file accountancyexport.class.php.

References dol_print_date(), length_accountg(), price2num(), and print.

Referenced by export().

AccountancyExport::exportNormal (   $objectLines)

Export format : Normal.

Parameters
array$objectLinesdata
Returns
void

Definition at line 238 of file accountancyexport.class.php.

References dol_print_date(), length_accounta(), length_accountg(), price(), and print.

Referenced by export().

AccountancyExport::exportQuadratus ( $TData)

Export format : Quadratus.

Parameters
array$TDatadata
Returns
void

Definition at line 425 of file accountancyexport.class.php.

References dol_print_date(), dol_string_unaccent(), and print.

Referenced by export().

static AccountancyExport::getType ( )
static

Array with all export type available (key + label)

Returns
array of type

Definition at line 94 of file accountancyexport.class.php.

static AccountancyExport::getTypeConfig ( )
static

Array with all export type available (key + label) and parameters for config.

Returns
array of type

Definition at line 116 of file accountancyexport.class.php.

static AccountancyExport::trunc (   $str,
  $size 
)
static
Parameters
unknown$strdata
integer$sizedata

Definition at line 606 of file accountancyexport.class.php.

References dol_trunc().


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