Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Public Member Functions | |
__construct ($allowconstants=false, $allowimplicitmultiplication=false) | |
e ($expr) | |
EvalMath ($allowconstants=false, $allowimplicitmultiplication=false) | |
Old syntax of class constructor. | |
evaluate ($expr) | |
funcs () | |
get_native_function_name ($fnn) | |
nfx ($expr) | |
pfx ($tokens, $vars=array()) | |
trigger ($msg) | |
vars () | |
Static Public Member Functions | |
static | is_valid_var_or_func_name ($name) |
Public Attributes | |
$allowimplicitmultiplication | |
$f = array() | |
$fb | |
$fc | |
$fcsynonyms = array('if' => 'ifthenelse', 'and' => 'cond_and', 'or' => 'cond_or') | |
$last_error = null | |
$suppress_errors = false | |
$v = array() | |
$vb = array() | |
EvalMath::EvalMath | ( | $allowconstants = false, | |
$allowimplicitmultiplication = false ) |
EvalMath::get_native_function_name | ( | $fnn | ) |
string | $fnn |
string|boolean | false if function name unknown. |
|
static |
string | $name |
boolean | Is this a valid var or function name? |
EvalMath::$fb |
EvalMath::$fc |