AccountancyReport
class AccountancyReport (View source)
Class to manage reports for accounting categories
Properties
| DoliDB | $db | ||
| string | $error | ||
| string[] | $errors | ||
| string | $element | ||
| string | $table_element | ||
| int deprecated | $rowid | ||
| int | $id | ||
| ?string | $code | ||
| ?string | $label | ||
| ?int | $fk_country | ||
| ?int | $active |
Methods
int
fetch(int $id, string $code = '', string $label = '')
Load object in memory from database
Details
__construct(DoliDB $db)
Constructor
int
create(User $user, int $notrigger = 0)
Create object into database
int
fetch(int $id, string $code = '', string $label = '')
Load object in memory from database
int
update(User $user = null, int $notrigger = 0)
Update object into database
int
delete(User $user, int $notrigger = 0)
Delete object in database