/** * Render a modchooser. * * @param renderable $modchooser The chooser. * @return string */ public function render_modchooser(renderable $modchooser) { return $this->render_from_template('core_course/modchooser', $modchooser->export_for_template($this)); }
/** * Render a qbank_chooser. * * @param renderable $qbankchooser The chooser. * @return string */ public function render_qbank_chooser(renderable $qbankchooser) { return $this->render_from_template('core_question/qbank_chooser', $qbankchooser->export_for_template($this)); }