|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 105 of file class.EvalMath.php.
| EvalMath::__construct | ( | ) |
Definition at line 119 of file class.EvalMath.php.
| EvalMath::e | ( | string | $expr | ) |
Definition at line 128 of file class.EvalMath.php.
References evaluate().
Here is the call graph for this function:| EvalMath::evaluate | ( | string | $expr | ) |
Definition at line 133 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 443 of file class.EvalMath.php.
References $token.
Referenced by pfx().
Here is the caller graph for this function:| EvalMath::funcs | ( | ) |
Definition at line 197 of file class.EvalMath.php.
| EvalMath::nfx | ( | $expr | ) |
Definition at line 206 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 344 of file class.EvalMath.php.
References $token, ilMath\_add(), ilMath\_div(), ilMath\_mul(), ilMath\_pow(), ilMath\_sub(), from_hexbin(), pfx(), and trigger().
Referenced by evaluate(), and pfx().
Here is the call graph for this function:
Here is the caller graph for this function:| EvalMath::trigger | ( | string | $msg | ) |
Definition at line 432 of file class.EvalMath.php.
Referenced by evaluate(), nfx(), and pfx().
Here is the caller graph for this function:| EvalMath::vars | ( | ) |
Definition at line 186 of file class.EvalMath.php.
References $v.
| array EvalMath::$f = [] |
Definition at line 111 of file class.EvalMath.php.
| array EvalMath::$fb |
Definition at line 113 of file class.EvalMath.php.
| string EvalMath::$last_error = null |
Definition at line 108 of file class.EvalMath.php.
| bool EvalMath::$suppress_errors = false |
Definition at line 107 of file class.EvalMath.php.
| array EvalMath::$v = array('e' => 2.71,'pi' => 3.14) |
Definition at line 110 of file class.EvalMath.php.
Referenced by vars().
| array EvalMath::$vb = array('e', 'pi') |
Definition at line 112 of file class.EvalMath.php.