MDL-31873 added mod_assign_get_grades web service function
[moodle.git] / mod / label / mod_form.php
CommitLineData
86342d63 1<?php
9516942a
PS
2
3// This file is part of Moodle - http://moodle.org/
4//
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17
18/**
19 * Add label form
20 *
21 * @package mod
22 * @subpackage label
23 * @copyright 2006 Jamie Pratt
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 */
26
27defined('MOODLE_INTERNAL') || die;
bfebaf64 28
23a7718b 29require_once ($CFG->dirroot.'/course/moodleform_mod.php');
e24b7f85 30
f07b9627 31class mod_label_mod_form extends moodleform_mod {
630371c0 32
e73457e4 33 function definition() {
630371c0 34
9516942a 35 $mform = $this->_form;
630371c0 36
43b44d5e 37 $this->add_intro_editor(true, get_string('labeltext', 'label'));
630371c0 38
42f103be 39 $this->standard_coursemodule_elements();
630371c0 40
a23f0aaf 41//-------------------------------------------------------------------------------
e73457e4 42// buttons
b5ab55dd 43 $this->add_action_buttons(true, false, null);
a23f0aaf 44
e73457e4 45 }
630371c0 46
47}