/** * @param string $plugintype Plugin type (always 'theme') * @param string $pluginname Plugin name (name of theme) * @param backup_optigroup $optigroup Group that will contain this data * @param backup_course_structure_step $step Backup step that this is part of */ public function __construct($plugintype, $pluginname, $optigroup, $step) { parent::__construct($plugintype, $pluginname, $optigroup, $step); $this->coursetheme = backup_plan_dbops::get_theme_from_courseid($this->task->get_courseid()); }