dolibarr 19.0.3
|
Class to manage bank categories. More...
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. | |
create (User $user, $notrigger=0) | |
Create in database. | |
fetch ($id) | |
Load object in memory from database. | |
update (User $user=null, $notrigger=0) | |
Update database. | |
delete (User $user, $notrigger=0) | |
Delete object in database. | |
createFromClone (User $user, $fromid) | |
Load an object from its id and create a new one in database. | |
fetchAll () | |
Returns all bank categories. | |
initAsSpecimen () | |
Initialise an instance with random values. | |
Class to manage bank categories.
Definition at line 29 of file bankcateg.class.php.
BankCateg::__construct | ( | DoliDB | $db | ) |
Constructor.
Definition at line 74 of file bankcateg.class.php.
BankCateg::create | ( | User | $user, |
$notrigger = 0 ) |
Create in database.
Definition at line 87 of file bankcateg.class.php.
References dol_syslog().
BankCateg::createFromClone | ( | User | $user, |
$fromid ) |
Load an object from its id and create a new one in database.
Definition at line 290 of file bankcateg.class.php.
BankCateg::delete | ( | User | $user, |
$notrigger = 0 ) |
Delete object in database.
Definition at line 226 of file bankcateg.class.php.
References dol_syslog().
BankCateg::fetch | ( | $id | ) |
Load object in memory from database.
int | $id | Id object |
Definition at line 141 of file bankcateg.class.php.
References dol_syslog().
BankCateg::fetchAll | ( | ) |
BankCateg::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 359 of file bankcateg.class.php.
BankCateg::update | ( | User | $user = null, |
$notrigger = 0 ) |
Update database.
User | null | $user | User that modify |
int | $notrigger | 0=launch triggers after, 1=disable triggers |
Definition at line 177 of file bankcateg.class.php.
References dol_syslog().