|
dolibarr
13.0.2
|
Class to manage dictionary States (used by imports) More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| create ($user, $notrigger=0) | |
| Create object into database. More... | |
| fetch ($id, $code= '') | |
| Load object in memory from database. More... | |
| update ($user=null, $notrigger=0) | |
| Update object into database. More... | |
| delete ($user, $notrigger=0) | |
| Delete object in database. More... | |
Class to manage dictionary States (used by imports)
Definition at line 27 of file cstate.class.php.
| Cstate::__construct | ( | $db | ) |
Constructor.
| DoliDb | $db | Database handler |
Definition at line 76 of file cstate.class.php.
References db.
| Cstate::create | ( | $user, | |
$notrigger = 0 |
|||
| ) |
Create object into database.
Definition at line 89 of file cstate.class.php.
References $resql, db, dol_syslog(), nom, and rowid.
| Cstate::delete | ( | $user, | |
$notrigger = 0 |
|||
| ) |
Delete object in database.
Definition at line 241 of file cstate.class.php.
References $resql, db, and dol_syslog().
| Cstate::fetch | ( | $id, | |
$code = '' |
|||
| ) |
Load object in memory from database.
| int | $id | Id object |
| string | $code | Code |
Definition at line 149 of file cstate.class.php.
| Cstate::update | ( | $user = null, |
|
$notrigger = 0 |
|||
| ) |
Update object into database.
Definition at line 193 of file cstate.class.php.
References $resql, db, dol_syslog(), and nom.