dolibarr 18.0.6
|
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. | |
create (User $user, $notrigger=false) | |
Create object into database. | |
fetch ($id, $ref=null) | |
Load object in memory from the database. | |
update (User $user, $notrigger=false) | |
Update object into database. | |
delete (User $user, $notrigger=false) | |
Delete object in database. | |
initAsSpecimen () | |
Initialise object with example values Id must be 0 if object instance is a specimen. | |
Public Attributes | |
$libelle | |
Class Cpaiement.
Definition at line 32 of file cpaiement.class.php.
Cpaiement::__construct | ( | DoliDB | $db | ) |
Constructor.
DoliDb | $db | Database handler |
Definition at line 69 of file cpaiement.class.php.
Cpaiement::create | ( | User | $user, |
$notrigger = false ) |
Create object into database.
User | $user | User that creates |
bool | $notrigger | false=launch triggers after, true=disable triggers |
Definition at line 82 of file cpaiement.class.php.
References dol_syslog(), getEntity(), and type.
Cpaiement::delete | ( | User | $user, |
$notrigger = false ) |
Delete object in database.
User | $user | User that deletes |
bool | $notrigger | false=launch triggers after, true=disable triggers |
Definition at line 323 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 179 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 372 of file cpaiement.class.php.
References type.
Cpaiement::update | ( | User | $user, |
$notrigger = false ) |
Update object into database.
User | $user | User that modifies |
bool | $notrigger | false=launch triggers after, true=disable triggers |
Definition at line 238 of file cpaiement.class.php.
References dol_syslog(), and type.
Cpaiement::$libelle |