Proyectos de Subversion Moodle

Rev

Rev 96 | Rev 98 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 96 Rev 97
Línea 1... Línea 1...
1
<?php
1
<?php
Línea 2... Línea 2...
2
 
2
 
-
 
3
class block_cesa_course_rating extends block_base {
-
 
4
    
3
class block_cesa_course_rating extends block_base {
5
    
4
    public function init() {
6
    public function init() {
5
        $this->title = get_string('pluginname', 'block_cesa_course_rating');
7
        $this->title = get_string('pluginname', 'block_cesa_course_rating');
Línea 6... Línea 8...
6
    }
8
    }
Línea 24... Línea 26...
24
            $this->instance->defaultregion = 'below-content';
26
            $this->instance->defaultregion = 'below-content';
25
            $this->instance->region = 'below-content';
27
            $this->instance->region = 'below-content';
26
            $DB->update_record('block_instances', $this->instance);
28
            $DB->update_record('block_instances', $this->instance);
Línea 27... Línea 29...
27
            
29
            
-
 
30
            $this->config->title = 'Students feedback';
-
 
31
        } else {
28
            $this->config->title = 'Students feedback';
32
            $this->title = get_string('pluginname', 'block_cesa_course_rating');
29
        }
33
        }
Línea 30... Línea 34...
30
    }
34
    }
31
 
35