dolibarr 19.0.3
|
Public Member Functions | |
__construct ($db) | |
Constructor. | |
create ($user) | |
Create in database. | |
update ($user=null, $notrigger=0) | |
Update database. | |
fetch ($id, $user=null) | |
Load object in memory from database. | |
delete ($user) | |
Delete object in database. | |
initAsSpecimen () | |
Initialise an instance with random values. | |
Events class.
Definition at line 30 of file events.class.php.
Events::__construct | ( | $db | ) |
Events::create | ( | $user | ) |
Create in database.
Definition at line 150 of file events.class.php.
References description, dol_syslog(), dol_trunc(), getUserRemoteIP(), and type.
Events::delete | ( | $user | ) |
Delete object in database.
Definition at line 287 of file events.class.php.
References dol_syslog().
Events::fetch | ( | $id, | |
$user = null ) |
Load object in memory from database.
Definition at line 240 of file events.class.php.
References description, dol_syslog(), and type.
Events::initAsSpecimen | ( | ) |
Initialise an instance with random values.
Used to build previews or test instances. id must be 0 if object instance is a specimen.
Definition at line 310 of file events.class.php.
References description, and type.
Events::update | ( | $user = null, | |
$notrigger = 0 ) |
Update database.
Definition at line 206 of file events.class.php.
References description, dol_syslog(), and type.