dolibarr
x.y.z
|
Class to manage bank categories. More...
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. More... | |
create (User $user, $notrigger=0) | |
Create in database. More... | |
fetch ($id) | |
Load object in memory from database. More... | |
update (User $user=null, $notrigger=0) | |
Update database. More... | |
delete (User $user, $notrigger=0) | |
Delete object in database. More... | |
createFromClone (User $user, $fromid) | |
Load an object from its id and create a new one in database. More... | |
fetchAll () | |
Returns all bank categories. More... | |
initAsSpecimen () | |
Initialise an instance with random values. More... | |
Class to manage bank categories.
Definition at line 29 of file bankcateg.class.php.
BankCateg::__construct | ( | DoliDB | $db | ) |
Constructor.
Definition at line 54 of file bankcateg.class.php.
BankCateg::create | ( | User | $user, |
$notrigger = 0 |
|||
) |
Create in database.
Definition at line 67 of file bankcateg.class.php.
BankCateg::createFromClone | ( | User | $user, |
$fromid | |||
) |
Load an object from its id and create a new one in database.
Definition at line 270 of file bankcateg.class.php.
BankCateg::delete | ( | User | $user, |
$notrigger = 0 |
|||
) |
Delete object in database.
Definition at line 206 of file bankcateg.class.php.
BankCateg::fetch | ( | $id | ) |
Load object in memory from database.
int | $id | Id object |
Definition at line 121 of file bankcateg.class.php.
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 339 of file bankcateg.class.php.
BankCateg::update | ( | User | $user = null , |
$notrigger = 0 |
|||
) |