ILIAS
release_8 Revision v8.19
|
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().
EvalMath::evaluate | ( | string | $expr | ) |
Definition at line 117 of file class.EvalMath.php.
References $i, $token, nfx(), pfx(), and trigger().
Referenced by e().
EvalMath::from_hexbin | ( | $token | ) |
Definition at line 422 of file class.EvalMath.php.
References $token.
Referenced by pfx().
EvalMath::funcs | ( | ) |
Definition at line 181 of file class.EvalMath.php.
EvalMath::nfx | ( | $expr | ) |
Definition at line 190 of file class.EvalMath.php.
References $index, and trigger().
Referenced by evaluate().
EvalMath::pfx | ( | $tokens, | |
$vars = [] |
|||
) |
Definition at line 328 of file class.EvalMath.php.
References $i, $token, ilMath\_add(), ilMath\_div(), ilMath\_mul(), ilMath\_pow(), ilMath\_sub(), from_hexbin(), and trigger().
Referenced by evaluate().
EvalMath::trigger | ( | string | $msg | ) |
Definition at line 411 of file class.EvalMath.php.
Referenced by evaluate(), nfx(), and pfx().
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.