dolibarr
x.y.z
|
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 79 of file cstate.class.php.
References db.
Cstate::create | ( | $user, | |
$notrigger = 0 |
|||
) |
Create object into database.
Definition at line 92 of file cstate.class.php.
Cstate::delete | ( | $user, | |
$notrigger = 0 |
|||
) |
Delete object in database.
Definition at line 260 of file cstate.class.php.
Cstate::fetch | ( | $id, | |
$code = '' |
|||
) |
Load object in memory from database.
int | $id | Id object |
string | $code | Code |
Definition at line 158 of file cstate.class.php.
Cstate::update | ( | $user = null , |
|
$notrigger = 0 |
|||
) |
Update object into database.
Definition at line 202 of file cstate.class.php.