/** * Constructor * @param string $copiedclass the name of a class whose API we should be copying. * @param array $searchpaths a list of folders to search for templates in. * @param moodle_page $page the page we are doing output for. */ public function __construct($copiedclass, $searchpaths, $page) { parent::__construct($page); $this->copiedclass = new ReflectionClass($copiedclass); $this->searchpaths = $searchpaths; }