public function UnitsMathematicalExpression::unitsMathematicalExpressionSave in Units of Measurement 7.2
Save the mathematical expression into database.
Parameters
int $mathematical_expression_id: If the ID of the mathematical expression is known, under which it should be saved, provide it here. Otherwise it will be generated automatically
int $order: Order of this member when the mathematical expression is written down in postfix notation. Primarily this argument is used for internal purposes
Return value
int Mathematical expression ID under which this expression has been saved in the database
3 methods override UnitsMathematicalExpression::unitsMathematicalExpressionSave()
- AbstractUnitsMathematicalOperator::unitsMathematicalExpressionSave in ./
units.module - Save the mathematical expression into database.
- UnitsConstantMathematicalExpression::unitsMathematicalExpressionSave in ./
units.module - Save the mathematical expression into database.
- UnitsEntity::unitsMathematicalExpressionSave in includes/
UnitsEntity.class.inc - Save the mathematical expression into database.
File
- ./
units.module, line 1242 - Provide API for managing and converting units of measurement.
Class
- UnitsMathematicalExpression
- Interface of "mathematical expression".
Code
public function unitsMathematicalExpressionSave($mathematical_expression_id, &$order);