|
dolibarr
x.y.z
|
Class for accesing price global variables table. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| create ($user, $notrigger=0) | |
| Create object into database. More... | |
| fetch ($id) | |
| Load object in memory from the database. More... | |
| update ($user=0, $notrigger=0) | |
| Update object into database. More... | |
| delete ($rowid, $user, $notrigger=0) | |
| Delete object in database. More... | |
| initAsSpecimen () | |
| Initialise object with example values Id must be 0 if object instance is a specimen. More... | |
| checkParameters () | |
| Checks if all parameters are in order. More... | |
| listGlobalVariables () | |
| List all price global variables. More... | |
Class for accesing price global variables table.
Definition at line 30 of file price_global_variable.class.php.
| PriceGlobalVariable::__construct | ( | $db | ) |
Constructor.
| DoliDb | $db | Database handler |
Definition at line 71 of file price_global_variable.class.php.
References db.
| PriceGlobalVariable::checkParameters | ( | ) |
Checks if all parameters are in order.
Definition at line 295 of file price_global_variable.class.php.
| PriceGlobalVariable::create | ( | $user, | |
$notrigger = 0 |
|||
| ) |
Create object into database.
Definition at line 84 of file price_global_variable.class.php.
| PriceGlobalVariable::delete | ( | $rowid, | |
| $user, | |||
$notrigger = 0 |
|||
| ) |
Delete object in database.
| int | $rowid | Row id of global variable |
| User | $user | User that deletes |
| int | $notrigger | 0=launch triggers after, 1=disable triggers |
Definition at line 233 of file price_global_variable.class.php.
| PriceGlobalVariable::fetch | ( | $id | ) |
Load object in memory from the database.
| int | $id | Id object |
Definition at line 142 of file price_global_variable.class.php.
| PriceGlobalVariable::initAsSpecimen | ( | ) |
Initialise object with example values Id must be 0 if object instance is a specimen.
Definition at line 282 of file price_global_variable.class.php.
References code, and description.
| PriceGlobalVariable::listGlobalVariables | ( | ) |
List all price global variables.
Definition at line 316 of file price_global_variable.class.php.
| PriceGlobalVariable::update | ( | $user = 0, |
|
$notrigger = 0 |
|||
| ) |
Update object into database.
Definition at line 175 of file price_global_variable.class.php.