芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/mod/quiz/classes/admin_setting_overduehandling.php
. /** * Admin settings class for the quiz overdue attempt handling method. * * @package mod_quiz * @copyright 2008 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Admin settings class for the quiz overdue attempt handling method. * * Just so we can lazy-load the choices. * * @copyright 2011 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class mod_quiz_admin_setting_overduehandling extends admin_setting_configselect_with_advanced { public function load_choices() { global $CFG; if (is_array($this->choices)) { return true; } require_once($CFG->dirroot . '/mod/quiz/locallib.php'); $this->choices = quiz_get_overdue_handling_options(); return true; } }