|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for EvalMath:Public Member Functions | |
| __construct () | |
| e (string $expr) | |
| evaluate (string $expr) | |
| vars () | |
| funcs () | |
| nfx ($expr) | |
| pfx ($tokens, $vars=[]) | |
| trigger (string $msg) | |
| from_hexbin ($token) | |
Data Fields | |
| bool | $suppress_errors = false |
| string | $last_error = null |
| array | $v = array('e' => 2.71,'pi' => 3.14) |
| array | $f = [] |
| array | $vb = array('e', 'pi') |
| array | $fb |
Definition at line 89 of file class.EvalMath.php.
| EvalMath::__construct | ( | ) |
Definition at line 103 of file class.EvalMath.php.
| EvalMath::e | ( | string | $expr | ) |
Definition at line 112 of file class.EvalMath.php.
References evaluate().
Here is the call graph for this function:| EvalMath::evaluate | ( | string | $expr | ) |
Definition at line 117 of file class.EvalMath.php.
References $token, nfx(), pfx(), and trigger().
Referenced by e().
Here is the call graph for this function:
Here is the caller graph for this function:| EvalMath::from_hexbin | ( | $token | ) |
Definition at line 427 of file class.EvalMath.php.
References $token.
Referenced by pfx().
Here is the caller graph for this function:| EvalMath::funcs | ( | ) |
Definition at line 181 of file class.EvalMath.php.
| EvalMath::nfx | ( | $expr | ) |
Definition at line 190 of file class.EvalMath.php.
References trigger().
Referenced by evaluate().
Here is the call graph for this function:
Here is the caller graph for this function:| EvalMath::pfx | ( | $tokens, | |
$vars = [] |
|||
| ) |
Definition at line 328 of file class.EvalMath.php.
References $token, ilMath\_add(), ilMath\_div(), ilMath\_mul(), ilMath\_pow(), ilMath\_sub(), from_hexbin(), and trigger().
Referenced by evaluate().
Here is the call graph for this function:
Here is the caller graph for this function:| EvalMath::trigger | ( | string | $msg | ) |
Definition at line 416 of file class.EvalMath.php.
Referenced by evaluate(), nfx(), and pfx().
Here is the caller graph for this function:| EvalMath::vars | ( | ) |
| array EvalMath::$f = [] |
Definition at line 95 of file class.EvalMath.php.
| array EvalMath::$fb |
Definition at line 97 of file class.EvalMath.php.
| string EvalMath::$last_error = null |
Definition at line 92 of file class.EvalMath.php.
| bool EvalMath::$suppress_errors = false |
Definition at line 91 of file class.EvalMath.php.
| array EvalMath::$v = array('e' => 2.71,'pi' => 3.14) |
Definition at line 94 of file class.EvalMath.php.
Referenced by vars().
| array EvalMath::$vb = array('e', 'pi') |
Definition at line 96 of file class.EvalMath.php.