Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
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 |