General developer forum

overriding functions in /question/type/multichoice/renderer.php

 
Picture of Darko Miletić
Re: overriding functions in /question/type/multichoice/renderer.php
Core developersParticularly helpful Moodlers

Regarding misunderstanding what abstract means you should do some basic programming course.

This is what you need in your renderers.php

require_once($CFG->dirroot.'/question/type/rendererbase.php');
require_once($CFG->dirroot.'/question/type/multichoice/renderer.php');

class theme_clean_qtype_multichoice_single_renderer extends qtype_multichoice_single_renderer {

}

class theme_clean_qtype_multichoice_multi_renderer extends qtype_multichoice_multi_renderer {

}





 
Average of ratings: Useful (2)