dolibarr 24.0.0-beta
Cincoterm Class Reference

Class to manage dictionary Incoterms (used by imports) More...

Inheritance diagram for Cincoterm:
Collaboration diagram for Cincoterm:

Public Member Functions

 __construct ($db)
 Constructor.
 
 fetch ($id, $code='')
 Load object in memory from database.
 

Detailed Description

Class to manage dictionary Incoterms (used by imports)

Definition at line 31 of file cincoterm.class.php.

Constructor & Destructor Documentation

◆ __construct()

Cincoterm::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 61 of file cincoterm.class.php.

Member Function Documentation

◆ fetch()

Cincoterm::fetch ( $id,
$code = '' )

Load object in memory from database.

Parameters
int$idIncoterm ID
string$codeIncoterm code
Returns
int Return integer <0 if KO, >0 if OK

Definition at line 74 of file cincoterm.class.php.

References active, description, and dol_syslog().


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