Skip to content
Snippets Groups Projects
Commit 32d87c09 authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Document change for the ILIAS group.

parent a9b0f5aa
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@ defined('MOODLE_INTERNAL') || die();
require_once(__DIR__ . '/settingslib.php');
require_once(__DIR__ . '/stack/options.class.php');
// Useful links.
$links = array(
get_string('stackDoc_docs_desc', 'qtype_stack',
......@@ -49,7 +48,6 @@ $settings->add(new admin_setting_heading('docs',
get_string('settingusefullinks', 'qtype_stack'),
'* ' . implode("\n* ", $links)));
// Options for connection to Maxima.
// Note that any settings here where we try to set the default
// intelligently in install.php, the default here must be null.
......@@ -113,12 +111,18 @@ $settings->add(new admin_setting_configcheckbox('qtype_stack/casdebugging',
get_string('settingcasdebugging', 'qtype_stack'),
get_string('settingcasdebugging_desc', 'qtype_stack'), 0));
// @codingStandardsIgnoreStart
// ILIAS: will need to replicate this cache.
// The Moodle cache API is quite simple, so to replicate it we need only implement
// $cache = cache::make('qtype_stack', 'parsercache');
// $ast = $cache->get($cachekey); // Returns null/false or something if key not present.
// $cache->set($cachekey, $ast);
// Or, it is already possible to disable this, because there is a config variable that can be set to 0 to disable.
// @codingStandardsIgnoreEnd
$settings->add(new admin_setting_configtext('qtype_stack/parsercacheinputlength',
get_string('settingparsercacheinputlength', 'qtype_stack'),
get_string('settingparsercacheinputlength_desc', 'qtype_stack'), 50, PARAM_INT, 3));
// Options for maths display.
$settings->add(new admin_setting_heading('mathsdisplayheading',
get_string('settingsmathsdisplayheading', 'qtype_stack'), ''));
......@@ -135,7 +139,6 @@ $settings->add(new admin_setting_configcheckbox('qtype_stack/replacedollars',
get_string('settingreplacedollars', 'qtype_stack'),
get_string('settingreplacedollars_desc', 'qtype_stack'), false));
// Options for new inputs.
$settings->add(new admin_setting_heading('inputoptionsheading',
get_string('settingdefaultinputoptions', 'qtype_stack'),
......@@ -188,7 +191,6 @@ $settings->add(new admin_setting_configselect('qtype_stack/inputshowvalidation',
get_string('showvalidation_help', 'qtype_stack'), '1',
stack_options::get_showvalidation_options()));
// Options for new questions.
$settings->add(new admin_setting_heading('questionoptionsheading',
get_string('settingdefaultquestionoptions', 'qtype_stack'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment