dolibarr 20.0.0
|
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 31 of file events.class.php.
Events::__construct | ( | $db | ) |
Events::create | ( | $user | ) |
Create in database.
Definition at line 151 of file events.class.php.
References description, dol_syslog(), dol_trunc(), getUserRemoteIP(), and type.
Events::delete | ( | $user | ) |
Delete object in database.
Definition at line 288 of file events.class.php.
References dol_syslog().
Events::fetch | ( | $id, | |
$user = null ) |
Load object in memory from database.
Definition at line 241 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 311 of file events.class.php.
References description, and type.
Events::update | ( | $user = null, | |
$notrigger = 0 ) |
Update database.
Definition at line 207 of file events.class.php.
References description, dol_syslog(), and type.