dolibarr 20.0.0
|
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 30 of file bankcateg.class.php.
BankCateg::__construct | ( | DoliDB | $db | ) |
Constructor.
Definition at line 75 of file bankcateg.class.php.
BankCateg::create | ( | User | $user, |
$notrigger = 0 ) |
Create in database.
Definition at line 88 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 291 of file bankcateg.class.php.
References $object.
BankCateg::delete | ( | User | $user, |
$notrigger = 0 ) |
Delete object in database.
Definition at line 227 of file bankcateg.class.php.
References dol_syslog().
BankCateg::fetch | ( | $id | ) |
Load object in memory from database.
int | $id | Id object |
Definition at line 142 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 360 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 178 of file bankcateg.class.php.
References dol_syslog().