dolibarr 21.0.0-alpha
|
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. | |
create (User $user, $notrigger=0) | |
Create object into database. | |
fetch ($id, $ref=null) | |
Load object in memory from the database. | |
update (User $user, $notrigger=0) | |
Update object into database. | |
delete (User $user, $notrigger=0) | |
Delete object in database. | |
initAsSpecimen () | |
Initialise object with example values Id must be 0 if object instance is a specimen. | |
Class Cpaiement.
Definition at line 36 of file cpaiement.class.php.
Cpaiement::__construct | ( | DoliDB | $db | ) |
Constructor.
Definition at line 78 of file cpaiement.class.php.
Cpaiement::create | ( | User | $user, |
$notrigger = 0 ) |
Create object into database.
Definition at line 90 of file cpaiement.class.php.
References dol_syslog(), getEntity(), and type.
Cpaiement::delete | ( | User | $user, |
$notrigger = 0 ) |
Delete object in database.
Definition at line 329 of file cpaiement.class.php.
References dol_syslog().
Cpaiement::fetch | ( | $id, | |
$ref = null ) |
Load object in memory from the database.
int | $id | Id object |
string | $ref | Ref |
Definition at line 187 of file cpaiement.class.php.
References dol_syslog(), and type.
Cpaiement::initAsSpecimen | ( | ) |
Initialise object with example values Id must be 0 if object instance is a specimen.
Definition at line 378 of file cpaiement.class.php.
References type.
Cpaiement::update | ( | User | $user, |
$notrigger = 0 ) |
Update object into database.
User | $user | User that modifies |
int<0,1> | $notrigger 0=launch triggers after, 1=disable triggers |
Definition at line 245 of file cpaiement.class.php.
References dol_syslog(), and type.