Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/assignment/settings.php
Go to the documentation of this file.
00001 <?php
00002 
00003 defined('MOODLE_INTERNAL') || die;
00004 
00005 if ($ADMIN->fulltree) {
00006     require_once($CFG->dirroot.'/mod/assignment/lib.php');
00007 
00008     if (isset($CFG->maxbytes)) {
00009         $settings->add(new admin_setting_configselect('assignment_maxbytes', get_string('maximumsize', 'assignment'),
00010                            get_string('configmaxbytes', 'assignment'), 1048576, get_max_upload_sizes($CFG->maxbytes)));
00011     }
00012 
00013     $options = array(ASSIGNMENT_COUNT_WORDS   => trim(get_string('numwords', '', '?')),
00014                      ASSIGNMENT_COUNT_LETTERS => trim(get_string('numletters', '', '?')));
00015     $settings->add(new admin_setting_configselect('assignment_itemstocount', get_string('itemstocount', 'assignment'),
00016                        get_string('configitemstocount', 'assignment'), ASSIGNMENT_COUNT_WORDS, $options));
00017 
00018     $settings->add(new admin_setting_configcheckbox('assignment_showrecentsubmissions', get_string('showrecentsubmissions', 'assignment'),
00019                        get_string('configshowrecentsubmissions', 'assignment'), 1));
00020 }
 All Data Structures Namespaces Files Functions Variables Enumerations