Initial commit of timetable-Module (rd)
This commit is contained in:
commit
784cb23da3
14 changed files with 723 additions and 0 deletions
16
edit_form.php
Normal file
16
edit_form.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
class block_timetable_edit_form extends block_edit_form {
|
||||
|
||||
protected function specific_definition($mform) {
|
||||
|
||||
// Section header title according to language file.
|
||||
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
|
||||
|
||||
// A sample string variable with a default value.
|
||||
$mform->addElement('text', 'config_text', get_string('blockstring', 'block_timetable'));
|
||||
$mform->setDefault('config_text', 'default value');
|
||||
$mform->setType('config_text', PARAM_TEXT);
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue