dolibarr
x.y.z
|
Public Member Functions | |
__construct ($db) | |
Constructor. More... | |
create ($user) | |
Create in database. More... | |
update ($user=null, $notrigger=0) | |
Update database. More... | |
fetch ($id, $user=null) | |
Load object in memory from database. More... | |
delete ($user) | |
Delete object in database. More... | |
initAsSpecimen () | |
Initialise an instance with random values. More... | |
Events class.
Definition at line 29 of file events.class.php.
Events::__construct | ( | $db | ) |
Events::create | ( | $user | ) |
Events::delete | ( | $user | ) |
Delete object in database.
Definition at line 275 of file events.class.php.
Events::fetch | ( | $id, | |
$user = null |
|||
) |
Load object in memory from database.
Definition at line 228 of file events.class.php.
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 298 of file events.class.php.
References description, and type.
Events::update | ( | $user = null , |
|
$notrigger = 0 |
|||
) |