dolibarr 18.0.6
|
Manage the different format accountancy import. More...
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. | |
cleanAmount (&$arrayrecord, $listfields, $record_key) | |
Clean amount. | |
cleanValue (&$arrayrecord, $listfields, $record_key) | |
Clean value with trim. | |
computeAmount (&$arrayrecord, $listfields, $record_key) | |
Compute amount. | |
computeDirection (&$arrayrecord, $listfields, $record_key) | |
Compute direction. | |
Manage the different format accountancy import.
Definition at line 40 of file accountancyimport.class.php.
AccountancyImport::__construct | ( | DoliDB | $db | ) |
Constructor.
DoliDb | $db | Database handler |
Definition at line 53 of file accountancyimport.class.php.
AccountancyImport::cleanAmount | ( | & | $arrayrecord, |
$listfields, | |||
$record_key ) |
Clean amount.
array | $arrayrecord | Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... |
array | $listfields | Fields list to add |
int | $record_key | Record key |
Definition at line 66 of file accountancyimport.class.php.
AccountancyImport::cleanValue | ( | & | $arrayrecord, |
$listfields, | |||
$record_key ) |
Clean value with trim.
array | $arrayrecord | Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... |
array | $listfields | Fields list to add |
int | $record_key | Record key |
Definition at line 80 of file accountancyimport.class.php.
AccountancyImport::computeAmount | ( | & | $arrayrecord, |
$listfields, | |||
$record_key ) |
Compute amount.
array | $arrayrecord | Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... |
array | $listfields | Fields list to add |
int | $record_key | Record key |
Definition at line 93 of file accountancyimport.class.php.
AccountancyImport::computeDirection | ( | & | $arrayrecord, |
$listfields, | |||
$record_key ) |
Compute direction.
array | $arrayrecord | Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]... |
array | $listfields | Fields list to add |
int | $record_key | Record key |
Definition at line 123 of file accountancyimport.class.php.