|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| EvalMath ($allowconstants=false, $allowimplicitmultiplication=false) | |
| e ($expr) | |
| evaluate ($expr) | |
| vars () | |
| funcs () | |
| nfx ($expr) | |
| pfx ($tokens, $vars=array()) | |
| trigger ($msg) | |
Static Public Member Functions | |
| static | is_valid_var_or_func_name ($name) |
Data Fields | |
| $suppress_errors = false | |
| $last_error = null | |
| $v = array() | |
| $f = array() | |
| $vb = array() | |
| $fb | |
| $fc | |
| $allowimplicitmultiplication | |
This class was heavily modified in order to get usefull spreadsheet emulation ;-) skodak
Definition at line 95 of file evalmath.class.php.
| e | ( | $ | expr | ) |
| EvalMath | ( | $ | allowconstants = false, |
| $ | allowimplicitmultiplication = false |
||
| ) |
Definition at line 120 of file evalmath.class.php.
| evaluate | ( | $ | expr | ) |
Definition at line 132 of file evalmath.class.php.


| funcs | ( | ) |
Definition at line 176 of file evalmath.class.php.
| static is_valid_var_or_func_name | ( | $ | name | ) | [static] |
| string | $name |
Definition at line 187 of file evalmath.class.php.
| nfx | ( | $ | expr | ) |
Definition at line 194 of file evalmath.class.php.


Definition at line 363 of file evalmath.class.php.


| trigger | ( | $ | msg | ) |
| vars | ( | ) |
Definition at line 172 of file evalmath.class.php.
| $allowimplicitmultiplication |
Definition at line 118 of file evalmath.class.php.
| $f = array() |
Definition at line 104 of file evalmath.class.php.
| $fb |
array( 'sin','sinh','arcsin','asin','arcsinh','asinh', 'cos','cosh','arccos','acos','arccosh','acosh', 'tan','tanh','arctan','atan','arctanh','atanh', 'sqrt','abs','ln','log','exp','floor','ceil','round')
Definition at line 106 of file evalmath.class.php.
| $fc |
| $last_error = null |
Definition at line 101 of file evalmath.class.php.
| $suppress_errors = false |
Definition at line 100 of file evalmath.class.php.
| $v = array() |
Definition at line 103 of file evalmath.class.php.
| $vb = array() |
Definition at line 105 of file evalmath.class.php.