17 lines
557 B
PHP
17 lines
557 B
PHP
![]() |
<?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);
|
||
|
|
||
|
}
|
||
|
}
|