dolibarr  9.0.0
Public Member Functions | Static Public Member Functions | Static Private 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, and make the export into a file. 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...
 
 exportFEC ($objectLines)
 Export format : FEC. 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 trunc ($str, $size)
 

Static Private Member Functions

static getFormatCode ($type)
 Return string to summarize the format (Used to generated export filename) More...
 

Detailed Description

Class AccountancyExport.

Manage the different format accountancy export

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

Constructor & Destructor Documentation

◆ __construct()

AccountancyExport::__construct ( DoliDB $db)

Constructor.

Parameters
DoliDb$dbDatabase handler

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

Member Function Documentation

◆ export()

AccountancyExport::export ( $TData)

Function who chose which export to use with the default config, and make the export into a file.

Parameters
array$TDatadata
Returns
void

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

◆ exportAgiris()

AccountancyExport::exportAgiris (   $objectLines)

Export format : Agiris Isacompta.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportBob50()

AccountancyExport::exportBob50 (   $objectLines)

Export format : BOB50.

Parameters
array$objectLinesdata
Returns
void

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

References print.

◆ exportCegid()

AccountancyExport::exportCegid (   $objectLines)

Export format : CEGID.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportCiel()

AccountancyExport::exportCiel ( $TData)

Export format : CIEL.

Parameters
array$TDatadata
Returns
void

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

◆ exportCoala()

AccountancyExport::exportCoala (   $objectLines)

Export format : COALA.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportCogilog()

AccountancyExport::exportCogilog (   $objectLines)

Export format : COGILOG.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportConfigurable()

AccountancyExport::exportConfigurable (   $objectLines)

Export format : Configurable.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportEbp()

AccountancyExport::exportEbp (   $objectLines)

Export format : EBP.

Parameters
array$objectLinesdata
Returns
void

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

◆ exportFEC()

AccountancyExport::exportFEC (   $objectLines)

Export format : FEC.

Parameters
array$objectLinesdata
Returns
void

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

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

◆ exportQuadratus()

AccountancyExport::exportQuadratus ( $TData)

Export format : Quadratus.

Parameters
array$TDatadata
Returns
void

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

◆ getFormatCode()

static AccountancyExport::getFormatCode (   $type)
staticprivate

Return string to summarize the format (Used to generated export filename)

Parameters
int$typeFormat id
Returns
string Format code

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

◆ getType()

static AccountancyExport::getType ( )
static

Array with all export type available (key + label)

Returns
array of type

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

◆ getTypeConfig()

static AccountancyExport::getTypeConfig ( )
static

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

Returns
array of type

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

◆ trunc()

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

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

References dol_trunc().


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