dolibarr 18.0.6
|
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 29 of file events.class.php.
Events::__construct | ( | $db | ) |
Events::create | ( | $user | ) |
Create in database.
Definition at line 144 of file events.class.php.
References description, dol_syslog(), dol_trunc(), getUserRemoteIP(), and type.
Events::delete | ( | $user | ) |
Delete object in database.
Definition at line 281 of file events.class.php.
References dol_syslog().
Events::fetch | ( | $id, | |
$user = null ) |
Load object in memory from database.
Definition at line 234 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 304 of file events.class.php.
References description, and type.
Events::update | ( | $user = null, | |
$notrigger = 0 ) |
Update database.
Definition at line 200 of file events.class.php.
References description, dol_syslog(), and type.