Library functions used by qbank_exportquestions/export.php. This code is based on lib/questionlib.php by Martin Dougiamas.
Author: | Guillermo Gomez Arias <guillermogomez@catalyst-au.net> |
Copyright: | 2021 Catalyst IT Australia Pty Ltd |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 58 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
exportquestions_helper:: (1 method):
question_make_export_url()
Class: exportquestions_helper - X-Ref
Class exportquestions_helper contains all the library functions.question_make_export_url($contextid, $categoryid, $format, $withcategories,$withcontexts, $filename) X-Ref |
Create url for question export. return: moodle_url Return an URL. param: int $contextid Current context. param: int $categoryid Category id. param: string $format Format. param: string $withcategories nocategories or withcategories text. param: string $withcontexts nocontexts or withcontexts text. param: string $filename File name. |