Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Functions
questiontype.php File Reference

Question type class for the calculated question type. More...

Classes

class  qtype_calculated
 The calculated question type. More...
 

Functions

 qtype_calculated_calculate_answer ($formula, $individualdata, $tolerance, $tolerancetype, $answerlength, $answerformat='1', $unit='')
 
 qtype_calculated_find_formula_errors ($formula)
 Validate a forumula. More...
 
 qtype_calculated_find_formula_errors_in_text ($text)
 Validate all the forumulas in a bit of text. More...
 

Detailed Description

Question type class for the calculated question type.

@subpackage calculated

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later