summaryrefslogtreecommitdiff
path: root/sqlbox/sqlbox_form.php
blob: be6e20d7e13e170e06e92a1b00d2e71f32dba14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

defined('MOODLE_INTERNAL') || die();

require_once($CFG->libdir.'/formslib.php');

class mod_sqlbox_form extends moodleform {

    public function definition() {
        $mform = &$this->_form;
	$mform->addElement('header', 'general', 'SQLBox');
	$mform->addElement('text', 'query', 'Query', 'size="50"');
	$mform->addElement('editor', 'query2', 'Query2');
	$mform->addElement('submit', 'button', 'Submit');
    }
}

?>