|
dolibarr
x.y.z
|
Class for accesing price expression 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... | |
| list_price_expression () | |
| List all price expressions. More... | |
| find_title ($title) | |
| Returns any existing rowid with specified title. More... | |
| update ($user=0, $notrigger=0) | |
| Update object into database. More... | |
| delete (User $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... | |
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.
References db.
| PriceExpression::create | ( | $user, | |
$notrigger = 0 |
|||
| ) |
Create object into database.
Definition at line 78 of file price_expression.class.php.
| PriceExpression::delete | ( | User | $user, |
$notrigger = 0 |
|||
| ) |
Delete object in database.
Definition at line 281 of file price_expression.class.php.
| PriceExpression::fetch | ( | $id | ) |
Load object in memory from the database.
| int | $id | Id object |
Definition at line 131 of file price_expression.class.php.
| PriceExpression::find_title | ( | $title | ) |
Returns any existing rowid with specified title.
| String | $title | Title of expression |
Definition at line 203 of file price_expression.class.php.
| PriceExpression::initAsSpecimen | ( | ) |
Initialise object with example values Id must be 0 if object instance is a specimen.
Definition at line 320 of file price_expression.class.php.
| PriceExpression::list_price_expression | ( | ) |
List all price expressions.
Definition at line 167 of file price_expression.class.php.
| PriceExpression::update | ( | $user = 0, |
|
$notrigger = 0 |
|||
| ) |
Update object into database.
Definition at line 233 of file price_expression.class.php.