dolibarr 19.0.4
|
Class for accesing price expression table. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
create ($user, $notrigger=0) | |
Create object into database. | |
fetch ($id) | |
Load object in memory from the database. | |
list_price_expression () | |
List all price expressions. | |
find_title ($title) | |
Returns any existing rowid with specified title. | |
update ($user=0, $notrigger=0) | |
Update object into database. | |
delete (User $user, $notrigger=0) | |
Delete object in database. | |
initAsSpecimen () | |
Initialise object with example values Id must be 0 if object instance is a specimen. | |
Class for accesing price expression table.
Definition at line 30 of file price_expression.class.php.
PriceExpression::__construct | ( | $db | ) |
Constructor.
DoliDb | $db | Database handler |
Definition at line 65 of file price_expression.class.php.
PriceExpression::create | ( | $user, | |
$notrigger = 0 ) |
Create object into database.
Definition at line 78 of file price_expression.class.php.
References dol_syslog().
PriceExpression::delete | ( | User | $user, |
$notrigger = 0 ) |
Delete object in database.
Definition at line 283 of file price_expression.class.php.
References dol_syslog().
PriceExpression::fetch | ( | $id | ) |
Load object in memory from the database.
int | $id | Id object |
Definition at line 132 of file price_expression.class.php.
References dol_syslog().
PriceExpression::find_title | ( | $title | ) |
Returns any existing rowid with specified title.
String | $title | Title of expression |
Definition at line 204 of file price_expression.class.php.
References dol_syslog().
PriceExpression::initAsSpecimen | ( | ) |
Initialise object with example values Id must be 0 if object instance is a specimen.
Definition at line 323 of file price_expression.class.php.
PriceExpression::list_price_expression | ( | ) |
List all price expressions.
Definition at line 168 of file price_expression.class.php.
References dol_syslog().
PriceExpression::update | ( | $user = 0, | |
$notrigger = 0 ) |
Update object into database.
Definition at line 234 of file price_expression.class.php.
References dol_syslog().